[ILUG] PHP/mysql content management system
James Cooper
jac1 at student.cs.ucc.ie
Tue Jan 20 08:47:11 GMT 2004
I wish to fawk there was a PHP mailing list.
-----Original Message-----
From: ilug-bounces at linux.ie [mailto:ilug-bounces at linux.ie] On Behalf Of John
P. Looney
Sent: 20 January 2004 08:41
To: ILUG (Request)
Subject: Re: [ILUG] PHP/mysql content management system
On Mon, Jan 19, 2004 at 05:22:11PM +0000, Dave O Connor mentioned:
> In my experience, perl is a lot easier to modularise, a lot clearer for
some
> things (i.e. calling $object->munge() instead of
> doCertainProccessPHPHooray($object)).
Er, you can do $object->munge() in PHP, if you write the class etc.
That said, I love it's class definitions. You can just make a class with
a nice strict class definition...and later it'll accept any typos and the
like in your code:
class service {
var $name;
var $host;
var $port;
}
$object=new service;
$object->name="eric";
$object->host="localhost";
$object->poooort="29";
and it'll work with no warnings. Wonderful. Anyone know if this will be
fixed in PHP5 ?
John
--
Irish Linux Users' Group
http://www.linux.ie/mailman/listinfo/ilug/
More information about the ILUG
mailing list