Flask
Upcoming SlideShare
Loading in...5
×
 

Flask

on

  • 2,826 views

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

Statistics

Views

Total Views
2,826
Views on SlideShare
2,630
Embed Views
196

Actions

Likes
2
Downloads
39
Comments
0

1 Embed 196

http://theglenbot.com 196

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Flask Flask Presentation Transcript

    • A Python Micro-framework For Web Development http://flask.pocoo.org Glen Zangirolami Blog: http://theglenbot.com Twitter: http://twitter.com/glenbot
    • What is Flask?
      • 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
      • Uses Werkzeug WSGI utilities and Jinja 2 template engine
      • A solid foundation for web applications
    • What comes with Flask?
      • Built-in development server and really awesome debugger
      • Integrated unittesting support
      • Jinja 2 template engine
      • 100% WSGI Compatible
      • Unicode Based
      • Fantastic documentation and community
    • What can Flask be used for?
      • Creating a twitter type client
      • A personal blog
      • Site that requires forms and registration
      • Software administration panels
      • Anything you can think of. The possibilities are endless!
    • What's the cons?
      • A young framework
      • It's super simple (see 4 th bullet)
      • Hosting Support
      • May require some custom code (that's not so bad right? ;))
    • What's the pros?
      • Small, agile, and fast
      • Customizable
      • Strong Community
      • Built upon proven and stable code
      • Early adopters can lay the ground work for the future of flask
    • How to start using Flask.
        Flask is easy to install. easy_install Flask
    • It wouldn't be a demo without hello world! from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run() It's that simple!
    • More complex examples.
      • Flaskr – A microblog
      • Minitwit – A twitter clone
      • flask.pocoo.org – Yes, the website is running flask.
      • http://github.com/mitsuhiko/flask/tree/master/examples/
    • Want to contribute?
      • GitHub - http://github.com/mitsuhiko/flask
      • Mailing List - http://flask.pocoo.org/mailinglist/
      • IRC – irc.freenode.net - #pocoo
    • Demo then questions Resources: http://flask.pocoo.org/ Slides: http://slideshare.net/glenbot Thanks again! Glen Zangirolami http://theglenbot.com @glenbot on twitter