Shell script

Jason Clinton me at jasonclinton.com
Wed Nov 12 22:18:49 CST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DCT Jared wrote:

| To each function, its own tool. For a web scripting language that
| anyone, including the unwashed masses, can learn: PHP. For a
| web scripting language that will attract the purist minority of academia:
| Python. For practical extraction and reporting, web or not: Perl.

I think you're right about PHP having a role as a web developement
language. I think the problem arises when you want your PHP script to do
so much more than it was designed to do. Like, perhaps you want to add
or remove users as we have been discussing. PHP doesn't lend itself well
to these tasks. Therein lies the rub: many times, what begins as a
simple web developement project ends up needing to do so much more than
PHP has to offer.

I can't speak for Perl or Python, but Ruby has an interesting web
developement approach: scripts can be embedded in HTML as with PHP and
parsed with a special interpreter called eruby/mod_ruby which is a sort
of a recursive parser. So, you get the convenience of PHP in HTML and
the power of Ruby's well-designed language.

I'm sure there are many simlar approaches, however. I heard that Python
has a similar function via some special module. IIRC, there is not an
equivalent module for Perl, though.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Understand the importance of encryption:

iD8DBQE/sqO1tSqjk42zvwkRAvKTAJ9nLrc4w5oCu58AI0fOi46rCJCrDACeLMnU
cWNgCP8To0hlI7VJoovLV7Q=
=JCz4
-----END PGP SIGNATURE-----




More information about the Kclug mailing list