By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,203 Members | 1,549 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,203 IT Pros & Developers. It's quick & easy.

easiest transition for a PHP website to move to Python?

P: n/a
I've got a database-driven website that's written entirely in PHP.

It's all pretty MVC : NOT embedded little calls inside HTML, but
rather little controller apps in the webroot that merge data with
HTML templates on the fly.

But for various reasons (mostly fun) I want to rewrite it in Python.

There are so many different approaches, though! Zope, Twisted,
mod_python, clearsilver, and all the goodies in standard library.

What would be the SMOOTHEST TRANSITION for a newbie like me to
rewrite my PHP+MySQL website to Python?

(The URL is http://www.musicthoughts.com)

Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Python Baby <py****@hitmedia.com> wrote in message news:<ma***************************************@py thon.org>...
I've got a database-driven website that's written entirely in PHP.

It's all pretty MVC : NOT embedded little calls inside HTML, but
rather little controller apps in the webroot that merge data with
HTML templates on the fly.

But for various reasons (mostly fun) I want to rewrite it in Python.

There are so many different approaches, though! Zope, Twisted,
mod_python, clearsilver, and all the goodies in standard library.

What would be the SMOOTHEST TRANSITION for a newbie like me to
rewrite my PHP+MySQL website to Python?


Most important, what can you use ?
If you are independ, this means have your own dedicated or virtual
server, then i would suggest webware which is the most sophisticated
real python (Zope is not python) solution. Twisted is more a server
framework then a web solution.

If you don't want a app server then use mod_python with one of the ten
web frameworks. Look at www.python-hosting.com for a list. I recommend
Quixote or Sypce.
Jul 18 '05 #2

P: n/a
On 30 Jan 2004 17:02:30 -0800, ll*****@web.de (Lothar Scholz) wrote:

....
http://zope-is-evil-666.idyll.org/
http://www.amk.ca/python/writing/why-not-zope.html
http://pywx.idyll.org/advocacy/why-not-zope.html


I don't know Zope, so feel free to ignore my point, but those articles
are nearly 4 years old. While there might be other reasons, I
wouldn't think old postings necessarily reflect the current version.
--dang
Jul 18 '05 #3

P: n/a
Dang Griffith <no*****@noemail4u.com> wrote in message news:<b6******************************@news.terane ws.com>...
On 30 Jan 2004 17:02:30 -0800, ll*****@web.de (Lothar Scholz) wrote:

...
http://zope-is-evil-666.idyll.org/
http://www.amk.ca/python/writing/why-not-zope.html
http://pywx.idyll.org/advocacy/why-not-zope.html


I don't know Zope, so feel free to ignore my point, but those articles
are nearly 4 years old. While there might be other reasons, I
wouldn't think old postings necessarily reflect the current version.


Whilst I think that some of the criticism is unfair, if somewhat
amusing in places, Zope does have a reputation as being a particularly
difficult beast for even the most ravenous python( expert)s to
swallow. In other words, it appears as a big system with lots of
unfamiliar techniques in use and, at least until modern times, not
that much documentation to help the uninitiated. That said, once you
get down to writing components, there are some good approaches in
common use which make the process both relatively easy and not so
different to how you would write applications in some of the other
frameworks.

It sometimes seems quite fashionable to trash Zope and hype Twisted,
for example, but the "maze of twisty passages" problem isn't exclusive
to Zope by any means.

Paul
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.