PDF Archive

Easily share your PDF documents with your contacts, on the Web and Social Networks.

Share a file Manage my documents Convert Recover PDF Search Help Contact



HN Python Meetup 05 08 2017 .pdf



Original filename: HN_Python_Meetup_05_08_2017.pdf

This PDF 1.4 document has been generated by Impress / LibreOffice 5.1, and has been sent on pdf-archive.com on 04/08/2017 at 13:56, from IP address 58.187.x.x. The current document download page has been viewed 121 times.
File size: 1.1 MB (17 pages).
Privacy: public file




Download original PDF file









Document preview


Python Hanoi Meetup #1


Speaker: Do Anh Tu



Github: https://github.com/tudoanh



Blog: https://medium.com/@doanhtu



Author of bookzen.top and getlink.top





and some packages: python-facebook-bot and
get_fshare
… and unemployed as fuck =))

Topics


Flask



Bulma.io



RESTful API (sort of)



React.js (Just for fun)



Philosophy (j/k)

1 - Build application with Flask

1.1 – What is Flask?


Flask is a Python web micro-framework



Homepage: http://flask.pocoo.org/



Author: https://twitter.com/mitsuhiko





Using by: Pinterest, Uber, Twillio, Linked-in,
Obama President’s team, Netflix …
So yep, flask sound like a good deal.

1.2 – Why Flask


Small



Easy to use



Sort learning curve



Good for small projects



Perfect fit for writing APIs (flask-restful)



Why not?

1.3 - Cons


Have no admin page



DIY



Not fully documented like Django

1.4 – How it works?


Quick start: http://flask.pocoo.org/docs/0.12/quickstart/



Router



Static files and Templates



Render templates





Cookies & Sessions (which allows you to store
information specific to a user from one request to the
next)
Database

1.5 – Writing APIs








Flask-restful
https://flaskrestful.readthedocs.io/en/0.3.5/quickstart.html
HTTP methods (used mostly)


POST



GET



PUT



DELETE

Wanna learn more about HTTP? Go here.

But why APIs?


Related documents


hn python meetup 05 08 2017
dmugtasimov resume upwork
vadymprokopets
leibelresume
djangointerviewquestion
how to learn in python training institutes in bangalore


Related keywords