Your SlideShare is downloading. ×
Django vs 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

Django vs Flask

4,051
views

Published on

A lightning talk I gave at PyLadiesSF's Mock DjangoCon on Aug 30, 2012.

A lightning talk I gave at PyLadiesSF's Mock DjangoCon on Aug 30, 2012.


0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,051
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
19
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. FLASK VS DJANGO R AC H E L S A N D E RS AU G U S T 3 0 , 2 01 2
  • 2. WHAT THIS TALK IS NOT
  • 3. FRIENDSHIPI S M AG I C
  • 4. DJANGO comes with everythingawesome documentation great community
  • 5. FLASKfrom flask import Flaskapp = Flask(__name__)@app.route("/")def hello(): return "Hello World!"if __name__ == "__main__": app.run()
  • 6. WHY THE @#$! WOULDI WANT TO USE FLASK R AC H E L S A N D E RS AU G U S T 3 0 , 2 01 2
  • 7. PHILOSOPHY
  • 8. PHILOSOPHY smallimport only what you need pythonic
  • 9. YOU NEED FLEXIBILIT Y
  • 10. YOU NEED FLEXIBILIT Yless constraints on your code organize how you like pull in what you want
  • 11. YOU NEED FLEXIBILIT Ymore plugins every day (literally)
  • 12. YOUR DATA IS WEIRD
  • 13. YOUR DATA IS WEIRDDjango ORM doesn’t always fit *cough* SQLAlchemy *cough*
  • 14. YOUR DATA IS WEIRD No ORM = no adminNo ORM = fewer modules …why django again?
  • 15. YOUR DATA IS WEIRD if you need more,why not write from scratch?
  • 16. IN CONCLUSION…
  • 17. HOORAY FOR EVERYBODY! they’re both great!use the right tool for you