web app development with flask
TRANSCRIPT
![Page 1: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/1.jpg)
Jasim Muhammed
Web App development with
![Page 2: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/2.jpg)
ME?• Senior Software Engineer @ Nuventure,
working for Rightside.• Hacking Flask, SQLAlchemy, grunt, jQuery,
Jenkins and Ansible.• Do lot of other things with team :)
![Page 3: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/3.jpg)
PREPARE ENVIRONMENT• Setup DevEnvironment
• Bash prompt setup
• Virtualenv & Wrapper
• Sublime Plugins
• Anaconda
• Packages
• Flask, SQLAlchemy, IPython, IPdb, nose
![Page 4: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/4.jpg)
FORTUNE COOKIE APP
![Page 5: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/5.jpg)
FLASKR APP
![Page 6: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/6.jpg)
SOME FLASK VARIABLES
• Contexts
• request_context, application_context
• g, url_for, current_app, request, route
![Page 7: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/7.jpg)
FLASKR USING FLASK CLASSY
![Page 8: Web app development with Flask](https://reader035.vdocuments.us/reader035/viewer/2022080505/58ed40ed1a28ab76218b46db/html5/thumbnails/8.jpg)
PRODUCTION TIPS
• Use CustomExc
• Nose coverage
• Validations - WTForms/ Formencode
• SPA, MessageQueue