Your SlideShare is downloading. ×
0
Flask
Flask
Flask
Flask
Flask
Flask
Flask
Flask
Flask
Flask
Flask
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Flask

2,564

Published on

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

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,564
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
40
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×