PHP of course, because it’s easier, cheaper but higher efficient.
PHP
PHP–www.php.netis a remarkable success story. Starting as a simple scripting language for adding basic dynamic content to websites, it has grown to become one of the most used web programming languages into a major project. PHP is free for download and works very well on all of the Unix-like,Linuxand Windows platforms. It is said to be the4th most popular programming language. Since PHP pages work well on all of those platforms, a particular strength is that it can be used to develop websites on a desktop system and then deployed on industrial-strength and secure servers such as those found commonly only running Unix or Linux.
The hugely successfulxamppbundle of Apache,MySQL, PHP and perl has helped the rapid uptake of PHP on platforms, helping to replace the notoriously insecure IIS server. Since none of Apache, MySQL or PHP requires any form of commercial licence and all are battle-proven on high volume websites, these are very attractive options for those who come from the world of highly-priced proprietary packages.
PHP has a thriving developer community, numerous contributors, a wide range of features (extensible through plug-ins) and is used in thousands of websites around the world. The range of back-end databases supported by PHP meets all but the most unusual need.
Language purists will point to some of the design choices in the implementation of PHP with some disdain – many indicating a preference for Perl – but PHP has proved itself easy to learn and tends to be particularly popular with those who have to deliver results rapidly and who aren’t necessarily committed to taking advanced courses in programming and languages.
The world-leading Apache webserver is usually shipped with a built-in interpreter for PHP (a module called mod_php).
The PHP drawbacks that we have found are: the inability to insist that variables be declared before use; underdeveloped library mechanism (lacking Perl’s true ‘module’ concept) and occasional linguistic quirks.
Its benefits are its ease of deployment, large number of programming libraries available from PHP (177 in May 2006), ease of use and huge body ofsupportin the industry.
Perl
Perl–www.perl.comis one of the longest running and most successful free open-source projects. Embracing both a programming language and a whole philosophy of usage and design, Perl has quietly and without much hype, provided a better case-study of extensible and reusable software design than almost anything that has gone before it. It is very hard to find a computer system that hasn’t some form of support for Perl available. Those who like to think of themselves as serious programmers, or programming language specialists, tend to speak in very high terms of the language.
An astonishing range of free extensions (modules) exist for Perl, by far outweighing the impact of Perl simply as a vehicle for expressing programs
The database-independent library for Perl (DBI) is simply one example; programs which take advantage of this are largely independent of the underlying database engine; which is hidden by database-specific drivers all working transparently throught the DBI interface.
The Perl interperter for Apache (mod_perl) was one of the first plugins for Apache to become widely used.
Whilst it is hard to find bad things to say about Perl, it probably presents a more daunting challenge for non-programmers who want to complete simple tasks with active websites, requiring rather more learning before starting than say ASP or PHP.
It is, however, likely to be one of the best choices in the long run, especially where a considerable volume of software development and site maintenance is required, i.e. for large, complex sites subject to many and radical changes.
ASP/VBscript
ASP–www.microsoft.com(Active Server Pages) is a rounded proprietary product from Microsoft. Although ASP is really a framework into which various languages can plug, most people consider it implies using VB Script language (JavaScript can also be used out-of-the-box). Regrettably, it is only properly supported on Microsoft’s IIS platform thus ruling it out of contention for serious commercial users who care about security and reliability (IIS is, in most expert opinion, not fit for use outside an Intranet). If you are unfortunate enough to have an existing site developed in ASP theChilisoftpackage may help to port it to a more suitable platform.
VB Script is a version of Visual Basic (without the visuals) and with features tailored to make it suitable for use for building websites on Microsoft platforms. As you would expect with a giant like Microsoft it has spawned a considerable sub-industry of bolt-ons and plugins, mostly attracting licensing fees.
Since ASP and VB Script are closed-source, any bugs or security advisories that are discovered linger at the whim of the Microsoft until they are fixed. One website we built discovered a sev
You must be logged in to post a comment.
Comments
Leave a comment Trackback