web app development with flask

9
Jasim Muhammed Web App development with

Upload: jasim-muhammed

Post on 12-Apr-2017

288 views

Category:

Engineering


6 download

TRANSCRIPT

Page 1: Web app development with Flask

Jasim Muhammed

Web App development with

Page 2: Web app development with Flask

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

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

FORTUNE COOKIE APP

Page 5: Web app development with Flask

FLASKR APP

Page 6: Web app development with Flask

SOME FLASK VARIABLES

• Contexts

• request_context, application_context

• g, url_for, current_app, request, route

Page 7: Web app development with Flask

FLASKR USING FLASK CLASSY

Page 8: Web app development with Flask

PRODUCTION TIPS

• Use CustomExc

• Nose coverage

• Validations - WTForms/ Formencode

• SPA, MessageQueue