I started a new project with the name nacho, asynchronous web framework for Python 3.
Our goals
- It was designed to work on Python 3.x
- Some of syntax were inspired on Tornado's syntax
- Tornado is the default server, but Eventlet is stable as well
- Templates are done by Jinja2
- HTML5 as the big-main-thing
- Work friendly with NoSQL (otherwise we should stop talking about them)
- Handle asynchronous requests properly
Example
class MainHandler(ApplicationController): def get(self): data = {'title': 'testando lero lero'} self.render("home.html", **data) r = Routers([(r"/", MainHandler),])
0sem comentários ainda