What HTTP framework should I use for a simple application with implied scalability, priferable Pythonic? I would like to be able to smoothly add new features to my app when it has already been deployed.
+1
A:
It might look too simple, but it's a joy to use.
It can be deployed on google appengine. Should scale pretty well. Can be used with any WSGI server.
rincewind
2009-04-27 13:38:13
Thanks, it looks nice, I'm diving into it right now. Do you know how to call run()? The tutorial says it's web.run. But thre seems to be no run() in web module.
Alex
2009-04-27 14:21:31
Call the run() method of your application object (it's app.run() usually).
rincewind
2009-04-27 14:26:52
I think I haven't built an app yet. In the tutorial http://webpy.org/tutorial2.en there is this: import web; urls=('/', 'index', '', 'index'); class index: def GET(self): print "Hello World!"; web.run(urls, globals()); How do I fix so that it starts?
Alex
2009-04-27 14:34:07
I found the answer: in web.py 3 you should do app = web.application(urls,globals()); app.run()
Alex
2009-04-27 16:59:06
+2
A:
I'm a big fan of Pylons. It behaves just like a framework should; not excessive on the magic and contains many good components that you can pick-and-choose that help you hit the ground running. It's small and easy to deploy, and requires minimal boilerplate or other syntactic cruft. Scalability seems pretty good -- I've not run into any issues, and major parts of Reddit utilize libraries from Pylons.
cookiecaper
2009-04-27 13:53:53