3 ms·
Aw, too bad. I was hoping there'd be a Python Sinatra. Oh well!
by krainboltgreene 17y ago
Aw, too bad. I was hoping there'd be a Python Sinatra. Oh well!
- telemachos 17y agoAs I mentioned in the other post about this, there is a Python Sinatra-esque project that isn't a joke: itty. It apparently was half a joke or a dare at first, but it's not any longer: http://github.com/toastdriven/itty http://github.com/toastdriven/itty
- moe 17y agoWhat's wrong with werkzeug (the one this joke was based on), bottle, cherrypy, or one of the other micro'ish frameworks that have existed for a long time? I personally don't see the point in going more micro than those, because for simple stuff they are syntactically mostly identical to this joke-framework, and once your stuff grows out of the "trivial"-stage you'll be glad anyways that Cookies, Auth and all that are right there, without requiring you to reinvent them.
- krainboltgreene 17y agoI personally don't see the point in going more micro than those Learning curve. At some point the next generation of hackers will wander by. They'll want something easy to grasp, simple to read, small enough to start their hacking.
- moe 17y agoWell, but there is no difference in the learning curve. The code presented in this joke-framework is the exact code that you'd use with werkzeug. It is werkzeug after all. It's also almost identical to what you'd use with web.py, bottle or one of the other "micro" (or rather: modular) frameworks. The only difference would be that those provide you with the tools (all strictly optional) to plug in authentication, cookies, template rendering etc. when you need them. But as said, they are there when/if you need them. If you don't use them you can just as well pretend they don't exist.