On Mon, 2004-11-15 at 12:01 +0000, Conor Daly wrote:
> On Mon, Nov 15, 2004 at 11:53:36AM -0000 or thereabouts, Aidan Delaney wrote:
> > but I'm wary of many PHP applications these days, though I'm not stupid
> > enough to discount an app _just_ because it's in PHP.
>> Ooo, why? We're delving into php for user-interface stuff quite a bit these
> days. Is there something we should know??
Nothing that isn't well known. There's a classic paper on PHP delivered
to uklug explaining a lot of it's problems. I can't seem to find the
link at the moment... The main problems are site-specific .ini files,
strange global scoping, poor separation between business logic and
presentation logic and, I'll add, problems migrating from php4 to php5.
I know most of these problems are solved or are well known. For
example, the separation of business logic from presentation logic can be
achieved using Pear or some other template system. However, this is
also possible in languages, such as Perl and Python, which have (in my
opinion) better properties that support component based usage and object
PHP is a tool for the job. It works if used well. Unfortunatly most of
the code I've seen has HTML (and not even XHTML) embedded in PHP for
loops etc... which is poor coding by anyones standard. I have started
to use Perl and the Perl template toolkit where I used to use PHP. One
advantage PHP does have is that it's session management is _very_ easy
Aidan Delaney email: adelaney at cs.may.ie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.linux.ie/pipermail/ilug/attachments/20041115/7ad34bba/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!