SV: How to execute python scripts under Apache?

Dave Cole djc at itga.com.au
Tue Jun 6 20:08:11 EDT 2000


>>>>> "Max" == Max Møller Rasmussen <maxm at normik.dk> writes:

Max> Does anybody has some good technical reasons to go with Python
Max> instead of PHP?

I have been using Python and HTMLgen here for about a year.  I am very
happy with the results.  The excellent object model in Python really
shines for this type of work.

I recently bought the "Professional PHP Programming" book to see what
PHP was all about.  I have read all of the book and I am currently
browsing through the case studies.  PHP has quite a bit of implicit
functionality which makes it quite powerful.  I get the impression
that for small projects, you would get off the ground faster with PHP.
The book does not really talk much about the PHP object model, so it
is hard to see if there are any equivalents for the various Python
__getattr__ (for instance) tricks.  There was also no discussion of
extension modules.

It is not clear from the book how well PHP would scale for larger
projects.  My gut feeling is that it would not scale as well as
Python.

On a non-technical level, the language is no where near as pretty as
Python.  The fast template system is as ugly as a hat full of
arseholes (as a friend of mine would say).

- Dave



More information about the Python-list mailing list