Live data from Hacker News

Ask Hacker News: What Python web framework should I use?

news.ycombinator.com

21–30 of 41 posts

Re: Ask Hacker News: What Python web framework should I use?

#23
post #21

If you want to be adventurous, you can also look at Werkzeug (a collection of WSGI utilities) and choose whatever ORM (SQLAlchemy, SQLObject, etc) and template system (Jinja, Mako, etc) you want.

Pylons is also WSGI-based, and lets you use whatever ORM and templating components you want (although Mako is the default for templating).

Re: Ask Hacker News: What Python web framework should I use?

#27

I personally like web.py: PROS: * Light and fast, * Really flexible, * Really easy to learn, * Easy to install, * Nice error reports (mostly copied from Django), * No database ORM CONS: * No database ORM, just some helper functions: insert(...), update(...), select(...), etc. You must also build the DB tables by yourself. * Limited documentation.

I stopped using web.py after I had to correct Aaron when he recommended a 'session' implementation that had a massive gaping security hole. http://groups.google.com/group/webpy/browse_thread/thread/2f... If he couldn't spot that when he posted, I don't trust him to spot any other problems with web.py

He is doing a good job so far. Anyway, I believe he isn't the only developer of web.py anymore.

Re: Ask Hacker News: What Python web framework should I use?

#29

I personally like web.py: PROS: * Light and fast, * Really flexible, * Really easy to learn, * Easy to install, * Nice error reports (mostly copied from Django), * No database ORM CONS: * No database ORM, just some helper functions: insert(...), update(...), select(...), etc. You must also build the DB tables by yourself. * Limited documentation.

Limited Documentation = really almost non-existent, except few samples, and few lines here and there in their website.

I am not sure it is by laziness, or it is purposely done to scare n00bs away from it.

It's a pitty when somebody takes the time to built a decent and useful framework, but just hinders its adoption, by not going the extra mile and providing good documentation.

Re: Ask Hacker News: What Python web framework should I use?

#30

Just as a warning. Its not listed here, but stay away from Zope3/Plone for a while :).

Why, may I ask?

I'm contemplating to skip Zope3 to learn Plone. I'm also tinkering with the idea of purchasing Plone 3 book by Martin Aspelli. I heard the book is good and it gives you enough information about Zope3 to learn Plone.

Post reply on HN