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! Dafydd.
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.html 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 -- Bruno Desthuilliers Développeur bruno@modulix.org
Probably somthing to do with the fact that I've been programming in PHP for 4 years and I only heard about Python a few weeks ago... 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.html 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
--On Mittwoch, 23. Februar 2005 12:01 Uhr +0000 Dafydd Monks <dafydd.monks@dragondesigns.org.uk> wrote:
Probably somthing to do with the fact that I've been programming in PHP for 4 years and I only heard about Python a few weeks ago...
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.
Python is a multi-purpose language so you can do everything that can be done with PHP - only in a cleaner way. Best to get the Zope Book (zope.org) and a Python tutorial. -aj
Dafydd Monks wrote:
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
Use ZPT for that.
and also I need to rite a custom services script where people trade services and get paid in "barter" points.
Python scripts for logic, ZPT for presentation. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (4)
-
Andreas Jung -
bruno modulix -
Chris Withers -
Dafydd Monks