Download - Construindo um micro framework web em Python
![Page 1: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/1.jpg)
CONSTRUINDO UM MICRO FRAMEWORK WEB EM PYTHON
Allisson Azevedo
Tuesday, September 10, 13
![Page 2: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/2.jpg)
ALLISSON AZEVEDO
Graduado em Licenciatura em Computação
Desenvolvedor Web
http://speakerdeck.com/allisson
http://slideshare.net/allisson
http://github.com/allisson
http://youtube.com/user/allissonazevedo
Tuesday, September 10, 13
![Page 3: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/3.jpg)
Tuesday, September 10, 13
![Page 4: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/4.jpg)
Tuesday, September 10, 13
![Page 5: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/5.jpg)
MOTIVAÇÃO
Aprendizado
Trabalhar nativamente com WSGI
Distribuir o projeto no pypi
Integração com o travis-ci.org
Documentação no readthedocs.org
Integração com outras bibliotecas
Tuesday, September 10, 13
![Page 6: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/6.jpg)
INFLUÊNCIAS
Webapp2
Flask
Tuesday, September 10, 13
![Page 7: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/7.jpg)
FRAMEWORKS
Full Stack
Django, Web2py
Glue
TurboGears, Pylons/Pyramid
Micro
Webapp2, Flask, Bottle, Webpy
Tuesday, September 10, 13
![Page 8: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/8.jpg)
WSGI
Web Server Gateway Interface
PEP-333
Extensões para servidores
modwsgi, uwsgi
Servidores nativos
Twisted, Gevent, Eventlet, Gunicorn, Tornado
Tuesday, September 10, 13
![Page 9: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/9.jpg)
WSGI
Exemplos
http://allissonazevedo.com/2011/08/25/introducao-ao-wsgi/
Tuesday, September 10, 13
![Page 10: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/10.jpg)
WSGI
Bibliotecas
WebOb
Werkzeug
Tuesday, September 10, 13
![Page 11: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/11.jpg)
ROTEAMENTO
Werkzeug routing
Routes
Selector
Tuesday, September 10, 13
![Page 12: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/12.jpg)
SESSÃO
Beaker
Tuesday, September 10, 13
![Page 13: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/13.jpg)
TEMPLATES
Jinja2
Genshi
Mako
Quik
Tuesday, September 10, 13
![Page 14: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/14.jpg)
SIGNALS
Blinker
Tuesday, September 10, 13
![Page 15: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/15.jpg)
GUNSTAR
Tuesday, September 10, 13
![Page 16: Construindo um micro framework web em Python](https://reader033.vdocuments.pub/reader033/viewer/2022052507/5590b13c1a28abe4058b4650/html5/thumbnails/16.jpg)
PERGUNTAS?
Tuesday, September 10, 13