IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Python-based web app toolkits?
Any current opinions on Python-based web app toolkits? I've collected the following links so far, but have yet to dive in much:

Webware: [link|http://webware.sourceforge.net/|http://webware.sourceforge.net/]
This one looks good. I seem to remember it being mentioned here before. I'll have to investigate.

Albatross: [link|http://www.object-craft.com.au/projects/albatross/|http://www.object-cr...ojects/albatross/]
I looked at this a while back and seem to remember liking it. I'll have to look again and see why that was.

Zope: [link|http://www.zope.org/|http://www.zope.org/]
Powers this site, but I don't like the repository scheme.

mod_python: [link|http://www.modpython.org/|http://www.modpython.org/]
Perhaps a little too primitive.

Any others I'm overlooking?

Later that day ...
A search of posts here also reveals:
Twisted: [link|http://www.twistedmatrix.com/products/twisted|http://www.twistedma.../products/twisted]

And another question. How are those PostgreSQL Python driver stability problems? Any particular drivers to avoid?
--
Chris Altmann
Expand Edited by altmann Feb. 10, 2004, 08:42:53 PM EST
New Re: Python-based web app toolkits?
I've come to the conclusion that Twisted is too complex to bother with. Not to mention they can't decide on a templating language.

Other than that, I've only used Zope. I concur with your dislike of the repository.

Webware is OK if you like the whole JSP thing.

As far as Postgres goes, just avoid the Zope drivers. Which, if you avoid Zope as well, shouldn't be an issue. ;-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Current opinions are a dime a dozen :)
..the prevailing one, however, seems to be: "if you are able, write your own; if you are not, use Webware or Twisted."

Part of a more rigorous answer would involve knowing what sort of app you're writing. If it's fairly static and simple, you could get away with Cheetah and some glue. Mid-range...try Webware, or Zope if it's self-contained. Modpython is like modperl--just language hooks into the webserver, so it's not really an "app framework"--you need to build something on top of that. Twisted is more of a glorified socket handler than an app framework.

My current project needed a flexible DB layer, so they were all out. I wrote my own on top of mod_python and/or ASP.
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New Disagree on Twisted.
There's an awful lot there as a framework: translucent remote objects, a web framework (two, actually... no, make that three), a database abstraction layer, and an authentication/authorization layer.

There's just TOO much to learn, and crummy documentation. :-P
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Half-agree. Awful lot of tools != framework
'specially with the poor docs.
New But it's not just a bunch of tools, though.
Twisted is quite integrated... it might actually be easier to learn if it weren't so integrated.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New More details
It'll be a pretty straightforward CRUD front end for a CRM database and commission tracking system. The most complex client side stuff will be the monthly statement generating procedure (which I hope to implement almost entirely within the database, and possibly as a tool external to the web app), and a flexible reporting system. On the client-side there is likely to be much DOM+Javascript manipulation to implement a palatable rich data-entry UI.

The WebKit portion of Webware appeals most to me. Just enough structure and conveniences without losing sight of the basic CGI model. MiddleKit sounds interesting but I'd like to have more control over my DB schema than that might provide. UserKit appears disappointingly underdeveloped.
--
Chris Altmann
New I'd go as light as possible, then
Probably use Cheetah (or just string-interpolation) for display + Webware or custom middle layer, in Python or not. If your DB layer can do all of the heavy lifting, Python can be a good choice for the entire middle layer. IFF performance becomes an issue, recode chunks of it in C or another lang--Python makes that easy.
     Python-based web app toolkits? - (altmann) - (7)
         Re: Python-based web app toolkits? - (admin)
         Current opinions are a dime a dozen :) - (FuManChu) - (5)
             Disagree on Twisted. - (admin) - (2)
                 Half-agree. Awful lot of tools != framework - (FuManChu) - (1)
                     But it's not just a bunch of tools, though. - (admin)
             More details - (altmann) - (1)
                 I'd go as light as possible, then - (FuManChu)

And monkeys could fly out of my butt.
68 ms