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) 3 1410
Python Baby <py****@hitmedi a.com> wrote in message news:<ma******* *************** *************** **@python.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.
Dang Griffith <no*****@noemai l4u.com> wrote in message news:<b6******* *************** ********@news.t eranews.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 a desktop.
Now that I have them working on the desktop, I need to move the part
destined for a PDA to a PDA. I had originally planned to use a Sharp
Zaurus because it runs Linux (the OS of my desktop system) and I had
found a Python port that...
|
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 entire
program without having to save it. Can you do this in PYTHON? Also,
does PYTHON (Windows) log errors? It would be helpful when I am
writting a program and I submit the code and it says that their is an
error to know WHERE! Once again this...
|
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 excellent answers (thanks!). It
will be the basis of a slightly more complicated function for rendering a
two-level navigation bar ( Don't have time to get into design of a
multi-styletype renderer for n-level hierarchies. )
This is a single function...
|
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 database created with enterprise manager but
am unable to restore it into a database of the same name on my server.
Thanks,
Kevin
|
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 mention
what I want to do. I've looked into SSI, shtml, external javascript,
css, and html commands. There seems to be many solutions, but I would
like to focus on using the best and easiest solution.
I have a website with more than 1000 pages....
| |
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?
--Tim
|
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 transition (every 4 seconds).
Essentially what I have is 5 hidden divs in a php page. In my javascript code they get stored into an array and the setTimeout method is used to call then them one after the other. Instead of just having them switch I...
|
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
|
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 see what's
new in the Gui department.
I started using Tkinter several years ago and have a lot of stuff
written in it. As a result, it's hard to switch to another interface
(wxPython, PyQt, etc) with all the hours it would take to reproduce...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |