You do lose some functionality using PHP as CGI rather than module: Persistent DB Connections, :( ----- Original Message ----- From: "Stuart 'Zen' Bishop" <zen@cs.rmit.edu.au> To: "Gonçalo Gomes" <lucipher@delphi-pt.com> Cc: <zope-dev@zope.org> Sent: 03 June 2000 00:24 Subject: [Zope-dev] ZPHP [was Re: [Zope] CHAT]
On Thu, 1 Jun 2000, [iso-8859-1] Gonçalo Gomes wrote:
Silver_Surfer: how do you see the future of Zope fighting against PHP space on the web? Jim: I don't know much (enough) about PHP, but from what I vaguely know, PHP methods seem like a logical step.
Hmm... I'm having to setup a PHP web environment for the students next semester, and have elected to run it as a CGI application (tie into existing suid security arcitecture). I'm told there won't be any functionality loss except, just a bit of performance (?).
If we didn't care about persistance of the PHP engine, it would be a trivial task to create a PHP method object - just a small python stub using the CGI libraries to call PHP.
Or even more trivial - I could hack my existing Logger product to create a <dtml-php> tag, so you would be able to preprocess your PHP code with DTML tags or embed PHP output in DTML for standard_html_header etc. (Is that my foot bleeding?). The standard response to a <dtml-python> tag is that it would make it too PHP like, so <dtml-php> seems very appropriate :-)
And then the next step is to import IMP and other PHP apps into Zope land...
-- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )