Ext2: Perl versus PHP for Web DesignJun 13, 1999, 20:45 (16 Talkback[s])
(Other stories by Patrick Lambert)
Thanks to Rob Kennedy for this link.
"Web design is no longer what it used to be. 5 years ago, a web page was an HTML page with a few GIF files. Now, people expect full featured web sites, including animations, shopping carts and all kinds of enhanced features. For a long time now Perl has been the defacto standard for any server-side processing. Now, however, PHP is becoming very popular. In this article I will compare them, see their advantages and disadvantages."
"Perl is an interpreted language optimized to process text files. As such, it is perfect for CGI use. Using a Perl script as a CGI means that when an online form calls the script to be processed, the web server will load the Perl script, and pipe the output of the script back to the user, on its web browser. It has a simple syntax, similar to C. The last version is Perl 5, and includes many advanced functions which can be found in high level compiled languages."
"PHP is a server-side scripting language embedded in HTML pages. It is processed by the web server when the HTML page is loaded. The PHP code is included in special HTML tags which are parsed by the web server. The syntax is different, but PHP also has some very advanced functions."
0 Talkback[s] (click to add your comment)