Web devel with python. Whats the best route?

echuck at mindspring.com echuck at mindspring.com
Fri Jan 12 23:51:49 EST 2001


In article <mailman.978910629.6814.python-list at python.org>,
  Chris Watson <chris at voodooland.net> wrote:
>
> 	I'm about to start converting the small fool proof (ha ha) admin
> system I have been working from console based to web based. What is
the
> easiest way to go about integrating python into apache so I can start
> web'izing this app? mod_python, mod_snake, PyApache?
>
> 	As usual thanks for the replies!
>

Chris, I like Webware's design. (http://webware.sourceforge.net)
Although, I admit that I could be biased. However, I think the fact
that I designed Webware *after* reviewing Zope and various Python web
modules mitigates my bias. :-)

The components of Webware are modular and optional so you can use as
little or as much as you want.

Writing servlets with Webware.WebKit is about as easy as writing CGIs,
but they perform better and can be expanded upon with other paradigms
like PSP. e.g., if you start with servlets, I think you have more
places that you can easily go/expand to.

You can even install your own custom templating system, which
Pythoneers seem to enjoy creating.

Also, WebKit gives you "simple URLs" with no extension:

  http://host.com/foo/bar

"bar" can be bar.html, bar.py, bar.psp, or bar.X where X is an
extension/plug-in that you created. The key here is that you can switch
implementations of "bar" (say moving from .py to .psp to .X) and your
URLs stay the same. That means less site maintenance for you and
nobody's bookmarks break.

Extensions like .html and .py are for programmers, not users. Therefore
they don't belong in the URL.


-Chuck
--
http://webware.sourceforge.net


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list