[Gllug] Perl / PHP
Sean Burlington
sean at uncertainty.org.uk
Thu May 9 16:25:28 UTC 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 09 May 2002 4:34 pm, Kristian Davies wrote:
> Hi All,
>
> My first post, sorry if it is slightly off topic.
>
> What difference would it make when writing an intranet system (inc big
> mysql database) in perl rather than using php, performance wise?
>
>
> tia,
>
> Kristian
performance wise - how well you code makes more difference than perl vs php
if you personally can code better in one than the other then use that.
assuming you are using apache(if not - why not?!) ...
using mod_php or mod_perl instead of the cgi versions brings performance
advantages (IME php is almost always mod_php while perl is usually used in a
cgi context)
if you go down the php route then make sure you are aware of the recent
changes regarding external variables
http://www.php.net/release_4_2_0.php
these changes are a *good thing* but mean that most php manuals & tutorials
are now out of date as the examples will not work on the default
configuration of a current setup.
To make matters worse php written fot the new system will not run on versions
of php below 4.1 (which is a very recent release).
Database connection in either language is easy - perl has the advantage that
it makes it very easy to switch database systems with little code change (as
long as you stay clear of vendor specific SQL such as SHOW TABLES, LIMIT ...)
Have you considered JSP / servlets ?
- --
Sean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE82qL/Fw+p23sRiPURAoMyAJ0QmqNtHWLTQHC67uurQ4vALs+BZACeN/+D
cvWXvOpm95RkBvcH3dDFoEU=
=0Nca
-----END PGP SIGNATURE-----
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list