in reply to Another prediction of Perl's demise
Haven't seen you around for a while :)
I toyed with PHP a couple of days ago. Didn't go too much into it but it did give me an idea of why it's increasingly becoming popular for building dynamic sites: ease of use simple to use.
With perl, there's a little bit more work involved e.g. using "use CGI;" whereas with PHP, things like retrieving cookies can be done with a global variable without having to import any modules.
PHP seems to me to be a (blessed) marriage between Javascript and Perl: Javascript because of the ease with which php code can be called from within an html page; Perl because it has syntax quite similar to perl.
For simple dynamic sites, it's tempting to use PHP. But once the site gets larger, maintenance might become problematic because of global variables.
Perl's survival doesn't depend on its popularity with CGI stuff. If it did, then the work on Perl 6 would have been a waste, imho.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Another prediction of Perl's demise
by bradcathey (Prior) on Nov 25, 2004 at 04:11 UTC | |
by kiat (Vicar) on Nov 25, 2004 at 04:21 UTC | |
by Jenda (Abbot) on Nov 25, 2004 at 16:47 UTC | |
by kiat (Vicar) on Nov 26, 2004 at 02:05 UTC | |
|
Re^2: Another prediction of Perl's demise
by Juerd (Abbot) on Nov 25, 2004 at 16:58 UTC |