You won't have any problem learning Python - a _language_. Be prepared, however, to readjust your notions of how applications are built, when switching to Zope. In Zope, there is a lot more going on behind the scenes between the incoming http request and the execution of your scripts/pages (compared to PHP). There is also a big difference in how you deploy your app(s) - for example, unless you are using Zope "Products" or "External Methods", you can pretty much say goodbye to the idea of files containing code. And unless you don't need control over RDBMS transactions, you'll want to avoid the Zope Database Adapters. Coming from PHP background years ago, I found these types of issues more difficult to adjust to than any language difference. That being said, Zope is as powerful/extensible as anything out there, plus it's Python, which you'll love once you try. People have hacked out ways to use PHP in Zope - I haven't tried any of them, but I can't imagine why you'd ever want to mix the two approaches. Stick PHP pages and a proxy to your Zope instance behind the same Apache if you have to have them "together". - Jim (supposed to be .02 but I only had a nickel)
But I'm willing to learn. Can Python Modules for Zope do things like PHP can do - I need to write scripts that generate RSS feeds and also I need to rite a custom services script where people trade services and get paid in "barter" points. I know how to do all this in PHP, but I'm totally new to Python.
Dafydd Monks.
On Wednesday 02 Mar 2005 4:27 pm, bruno modulix wrote:
Dafydd Monks wrote:
Hi,
I've just takes over a site that runs Zope - the site currently uses flatfile html files.
Is it possible to run PHP pages/scripts from zope? if so how? Has anyone out there done it? I'd really appriciate any feedback/help!
http://www.zopemag.com/Issue007/Section_Products/product_PHPParser.htm
l http://www.zope.org/Members/Mamey/PHP
Now, unless you need to integrate a legacy PHP app into Zope - which seems not to be the case - why on earth would you do such a thing ? Dynamic pages ? You have ZPT and DTML. Scripting ? You have Python scripts and ExternalMethods. RDBMS connectivity ? You have database_adaptors and ZSQLMethods. Extending ? You have Zope Products. Simple persistance ? You have the ZODB.
My 2 cents
participants (1)
-
Jim Abramson