Flask 學習資料


fullstackpython, 將python和web知識組織得棒
http://www.fullstackpython.com/

 

我們的web開發和部署, 介紹開發和部署工具
http://www.v2ex.com/t/53744

 

wklken總結的flask小知識點, 絕了!

http://wklken.me/posts/2013/09/09/python-framework-flask.html

 

Ryan Shea大牛寫簡明flask bootstrap教程
http://www.shea.io/lightweight-python-apps-with-flask-twitter-bootstrap-and-heroku/

http://python-eve.org/ 項目作者的slide, 講解非常棒.
https://speakerdeck.com/nicola/developing-restful-web-apis-with-python-flask-and-mongodb
http://tech.pro/tutorial/1213/how-to-build-an-api-with-python-and-flask


flask-mimerender 擴展, RESTful resource variant rendering using MIME Media-Types, for the Flask Micro Web Framework, 讓我們的視圖函數同時支持application/json和application/xml和application/x-xml和text/xml等多種形式的render
https://github.com/nicolaiarocci/flask-mimerender

Implementing a RESTful Web API with Python & Flask
http://blog.luisrei.com/articles/flaskrest.html


Notes on Flask
http://omgitsmgp.com/2012/10/13/notes-on-flask/

jinja 模板學習
http://www.realpython.com/blog/python/primer-on-jinja-templating/

Flask 項目實戰教程。。。(非常棒, 包含wtform 驗證和提交實例)
http://rsj217.diandian.com/post/2014-01-10/40060721984


fullstackpython, 將python和web知識組織得棒
http://www.fullstackpython.com/

 

=======================
Flask 實戰篇
=======================

realpython的系列教程
http://www.realpython.com/blog/python/python-web-applications-with-flask-part-ii-app-creation
http://www.realpython.com/blog/python/python-web-applications-with-flask-part-i/

miguelgrinberg的完整教程, 以及restful api設計
ajax, http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xv-ajax
bootstrap, http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xii-facelift
flask webservice, http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask

flask jquery  http://pythonthusiast.pythonblogs.com/230_pythonthusiast/archive/1323_flask_biography_tutorial_part_x__building_portfolio_form_modal_dialog_using_flask-wtf_bootstrap_3_bootbox_bootstrap_tags_input_and_jquery.html

 

結合flask-wtf和Flask-Bootstrap開發(來自於伍五博客)

http://www.easywu.com/?p=376

 

maximebf的兩篇文章, 超贊

http://maximebf.com/blog/2012/10/building-websites-in-python-with-flask

http://maximebf.com/blog/2012/11/getting-bigger-with-flask


一步一步做項目
http://www.oschina.net/translate/the-flask-mega-tutorial-part-i-hello-world


使用flask和peewee(微小ORM)搭建twitter-like application(知識點:登陸, 數據分頁, 自定義template filter函數)
https://github.com/coleifer/peewee/blob/master/example/app.py

 

http://flask.pocoo.org/docs/views/#method-based-dispatching

通過Flask和MongoEngine編寫Tumblelog應用(知識點:blueprint)
http://mongodb.csdn.net/content.html?arcid=2809150
http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-flask-mongoengine/

美化頁碼, 整合html/css
http://www.oschina.net/translate/the-flask-mega-tutorial-part-xii-facelift

部署 Flask+Ngnix_Gunicorn+Redis+Mysql 小站
http://codingnow.cn/python/539.html, 理解 gunicorn 部署模式, 見 http://blog.est.im/post/45176433551 .  另外, 猛禽的 "使用gunicorn部署web.py應用", 值得學習, http://www.tuicool.com/articles/2i2i2i  

Q:gunicorn 可以實現更新代碼的時候,服務不停嗎?為什么我每次更新代碼都要重啟一次GUNICORN?
A: gunicorn里面有個pid的設置, 比如/tmp/your.pid
   那么你這樣操作, kill -HUP `cat /tmp/your.pid`
  
thepast.me 舊時光源碼
https://github.com/laiwei/thepast

flask boilerplate(集成 jQuery, bootstrap, HTML5_Boilerplate, 以及眾多flask擴展)
https://github.com/imwilsonxu/fbone   
   
=======================
Flask 短小實例
=======================
Flask常用方法
http://codingnow.cn/python/409.html

自定義decorator進行session認證和cache header設置
http://linnchord.net/archives/826.html

最近在用flask寫的任務管理站點
http://hi.baidu.com/leoomo/item/49887001c242a610cc34ea26

=======================
Rest API 設計
=======================
*API 設計教程
http://blog.miguelgrinberg.com/post/designing-a-restful-api-using-flask-restful
http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
*Beautiful REST APIs with Flask 幻燈片
http://pycoder.net/bospy/presentation.html
*playlist-service API project 示例
https://github.com/spiermar/playlist-service/



=======================
Flask 參考文檔
=======================
Flask中文版教程
http://dormousehole.readthedocs.org/en/latest/index.html

Jinja2 模板詳細篇 (Jinja2模板Eclipse中可以Django editor插件編寫)
http://docs.torriacg.org/docs/jinja2/templates.html
torriacg 下還有幾個和flask相關資源的翻譯
http://docs.torriacg.org/projects

Jinja2簡明使用手冊
http://www.oschina.net/question/5189_3943
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM