A Python Micro-framework For Web Development http://flask.pocoo.org Glen Zangirolami Blog:  http://theglenbot.com Twitter:...
What is Flask? <ul><li>A micro-framework written in python
It is called a micro-framework because the core remains simple and you can use extensions to enhance it </li></ul><ul><li>...
A solid foundation for web applications </li></ul>
What comes with Flask? <ul><li>Built-in development server and really awesome debugger
Integrated unittesting support
Jinja 2 template engine
100% WSGI Compatible
Unicode Based
Fantastic documentation and community </li></ul>
What can Flask be used for? <ul><li>Creating a twitter type client
Upcoming SlideShare
Loading in...5
×

Flask

2,591

Published on

Presentation for the PyHouston meetup over Flask - a micro-development framework for web development

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,591
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
41
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Flask

  1. 1. A Python Micro-framework For Web Development http://flask.pocoo.org Glen Zangirolami Blog: http://theglenbot.com Twitter: http://twitter.com/glenbot
  2. 2. What is Flask? <ul><li>A micro-framework written in python
  3. 3. It is called a micro-framework because the core remains simple and you can use extensions to enhance it </li></ul><ul><li>Uses Werkzeug WSGI utilities and Jinja 2 template engine
  4. 4. A solid foundation for web applications </li></ul>
  5. 5. What comes with Flask? <ul><li>Built-in development server and really awesome debugger
  6. 6. Integrated unittesting support
  7. 7. Jinja 2 template engine
  8. 8. 100% WSGI Compatible
  9. 9. Unicode Based
  10. 10. Fantastic documentation and community </li></ul>
  11. 11. What can Flask be used for? <ul><li>Creating a twitter type client
  12. 12. A personal blog
  13. 13. Site that requires forms and registration
  14. 14. Software administration panels
  15. 15. Anything you can think of. The possibilities are endless! </li></ul>
  16. 16. What's the cons? <ul><li>A young framework
  17. 17. It's super simple (see 4 th bullet)
  18. 18. Hosting Support
  19. 19. May require some custom code (that's not so bad right? ;)) </li></ul>
  20. 20. What's the pros? <ul><li>Small, agile, and fast
  21. 21. Customizable
  22. 22. Strong Community
  23. 23. Built upon proven and stable code
  24. 24. Early adopters can lay the ground work for the future of flask </li></ul>
  25. 25. How to start using Flask. <ul>Flask is easy to install. easy_install Flask </ul>
  26. 26. It wouldn't be a demo without hello world! from flask import Flask app = Flask(__name__) @app.route(&quot;/&quot;) def hello(): return &quot;Hello World!&quot; if __name__ == &quot;__main__&quot;: app.run() It's that simple!
  27. 27. More complex examples. <ul><li>Flaskr – A microblog
  28. 28. Minitwit – A twitter clone
  29. 29. flask.pocoo.org – Yes, the website is running flask.
  30. 30. http://github.com/mitsuhiko/flask/tree/master/examples/ </li></ul>
  31. 31. Want to contribute? <ul><li>GitHub - http://github.com/mitsuhiko/flask
  32. 32. Mailing List - http://flask.pocoo.org/mailinglist/
  33. 33. IRC – irc.freenode.net - #pocoo </li></ul>
  34. 34. Demo then questions Resources: http://flask.pocoo.org/ Slides: http://slideshare.net/glenbot Thanks again! Glen Zangirolami http://theglenbot.com @glenbot on twitter
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×