473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

easiest transition for a PHP website to move to Python?

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
3 1393
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jeffrey Barish | last post by:
I have been developing a Python program with two intercommunicating (using sockets) parts, one of which runs on a desktop and the other on a PDA. For ease of development, I developed them both on...
1
by: Alex Pavluck | last post by:
Hello. I am trying to teach myself PYTHON because I am interested in programming. I use SAS all day and I really like the way you can highlight code and submit just that section or submit the...
3
by: Richard A. DeVenezia | last post by:
I hope this is the end of my present 'discovery' phase. I've learned alot about JavaScript in a short time and my head hurts. The following is what came out of all my questions and all the...
5
by: Kevin | last post by:
Can anyone recommend the easiest way to get a full copy of a database from one server to another. The servers are not part of the same organization or network. I have received a backup of the...
6
by: jan | last post by:
My apologies for being a javascript beginner and asking such a basic question. This is probably so easy that nobody ever mentions it. Tutorials and places that tell of basic commands never seem to...
2
by: Tim N. van der Leeuw | last post by:
Hi, Does the Python.org website have a problem? I only get a directory index, and clicking on any of the HTML files in there shows a page without any CSS makeup. Anyone noticed this too? ...
4
by: scoobydoo9749 | last post by:
So I was on here the other day looking for help with the getElementByName method and recieved excellent help quickly. (Thankyou GITS) Now, I'm looking for some help with making some dynamic content...
1
by: Alexander Vasilevsky | last post by:
My question: how to make the transition to dynamically created aspx page. What can advise. http://www.alvas.net - Audio tools for C# and VB.Net developers
4
by: Mudcat | last post by:
So I haven't programmed much in Python the past couple of years and have been catching up the last few days by reading the boards. I'll be making commercial Python applications again and wanted to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.