[Tutor] python web dev
kent37 at tds.net
Fri Jan 5 17:39:06 CET 2007
> Thanks Gents,
> You do all make sense to me. My dilemma really, is that im from a .NET
> background where i write business logic in C# and write my own stored
> procs, etc...with the "cosmetic" design fully seperated from it all. so
> i think id feel more confortable with a framework thatd provide a basic
> MVC architecture and leave me to roll my own SQL etc, not one that will
> generate half a project for me. ive taken another look at Cheetah and i
> think i like it the most thus far.
Cheetah is only a template language, it doesn't give you any mechanism
for receiving and responding to HTTP requests. You still need some web
infrastructure. web.py and pylons both work with Cheetah; I think
TurboGears will also. Or you could use a bare web server such as
CherryPy or Karrigell with Cheetah.
You might want to take a look at Pylons, it is perhaps the most
"pluggable" of the major frameworks. You also might be interested in
SQLAlchemy which provides a higher-level of access to your database than
plain DB-API but doesn't hide the SQL from you.
> My other issue is: has anybody run a python web app under lighttpd? and
> if so, where can i get the Windows lighttpd build? the link to
> kevinworthington.com <http://kevinworthington.com> on the official site
> is dead, and ive not had a response from the lighttpd webmaster.
Any WSGI-compatible web app will run under lighttpd using flup as a
FastCGI connector. web.py, Pylons, TurboGears and Django all give
instructions for this in their docs.
More information about the Tutor