| WebSeitz/wikilog |
| Python Web Framework |
|
| last edited by BillSeitz on Oct 11, 2008 12:55 pm |
PyThon WebApp Frame Work/Application Server options
My experiences
My personal projects (to replace ZWiki-based Wiki Engine and build new things
Apr'2006 - Python On Mac setup, start Python Paste
May-July'2006 - Rhubarb Tart
Aug'2006 - play with MedUsa, decide that's a little too minimalist for my taste.
Sept'2006 - consider Phillip J Eby implementation of WSGI (and PyThon 2.5 switch), decide I'm spinning my wheels, will return to Rhubarb Tart
Oct'2006 - read some more, decide Rhubarb Tart is for other scenarios. Looking at Select Or with Python Paste.
ended up at Ro Baccia
Work - Living Independently - 2003-current
ZoPe v2
DTML is awful
ZPT is even worse
having code stuck in ZODB drives me nuts (and never got around to File System products, etc.)
our senior developer started working with Rhubarb Tart, ran into some speedbumps and wasn't thrilled with level of community of support
considered DjanGo
went with Cherry Py
Why go with anything thicker than WSGI? Bill De Hora noted ETag support is just one example; there are so many things frameworks like Rails/Django do ranging from architectural patterns around state management, to [URL] design, to testing, to template dispatching, to result pagination, right down to table coloring that the cumulative effect on productivity is startling.
note from when starting up Living Independently work
I'm going to be building some webapps used by both employees and (retail) clients. I want to use PyThon to build them. What should I use? Data Store will be Postgre S Q L.
Some criteria for consideration:
time/cost to launch (2 models? 1 to start, 1 to "do right"?)
flexibility (low [Cost Of Change]): because things will change
extensibility (from direct sales to institutional, distribution, etc.)
close to writing pure-Python: easy Unit Test, documentation, debugging, CVS use, etc.
Template System that doesn't make me nuts
comparison of PeRl [Templating System]-s http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html
easy creation of role-based security; decent/easy form/page templating (usable by designer not programmer?); Web Services support for integrating with apps of various vendors
low priority: performance under high load. Load won't be high. But performance should be good at low load!
Some options:
ZoPe: v2 smells like a pain, esp for building custom non-CMS objects. v3 ain't ready yet. But maybe ZPT and a forms product make it [OK]?
Bruce Eckel and Jon Udell still think it's the best choice.
see ZoPe page for notes from Jeffrey P Shell (who thinks that WebWare's "servlets" model is non-PyThon-ic.
Template System: ZPT or DTML
Cherry Py http://www.cherrypy.org/ One of the main characteristics of Cherry Py is that it works like a compiler: You write source files, compile them with Cherry Py and Cherry Py generates an executable containing everything to run the web site (including an HTTP server).
Twisted Matrix: seems overly focused on network protocols, which doesn't seem that important for my needs.
LesOrchard:Caffinate: used Twisted Matrix and CheeTah
Karrigell http://karrigell.sourceforge.net/
mini-frameworks?
overview from WebWare crowd http://www.webwareforpython.org/Papers/Templates/
Some opinions:
| User Options Recent Changes Help Page |