[Zope] PHP in conjuction with Zope?
Derek Simkowiak
dereks@realloc.net
Tue, 8 Jan 2002 14:53:11 -0800 (PST)
-> So here's the scoop. I'm very familiar with PHP, and I've got a
-> site nearly ready to roll in PHP. I've even got a stupid system for
-> letting the content guy update the pages remotely in PHP.
(a) Finish your site in PHP and deploy on Apache + PHP. Use Zope on your
next big project, or maybe even the next major revision of said website.
The project management overhead associated with deploying an unfamiliar
platform will kill your project.
(b) Technically, you can use PHP with Zope in one of two ways:
1. Use Apache mod_rewrite to redirect PHP content to Apache, and Zope
content to Zope (this is basically the same as not using Zope in your
situation)
2. Use the PHPDocument Zope "Product" (uh, 'plug in') to process the PHP
pages. This is much slower than Apache, because PHP is re-executed from
the command line for every request. For a low traffic site (or a really
fast server), this may be an option. See the mailing list archives for
more info and details.
(c) This is turning out to be a FAQ, can we please put it in there so we
can just point people to the right URL?
--Derek