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
 

posted @ 2013-03-09 00:31  harrychinese  阅读(5207)  评论(0编辑  收藏  举报