Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
To Flask or not to Flask
Search
Yehor Nazarkin
February 24, 2013
Programming
5
620
To Flask or not to Flask
Slides for my speech at DneprPy community meet-up #1
Yehor Nazarkin
February 24, 2013
Tweet
Share
More Decks by Yehor Nazarkin
See All by Yehor Nazarkin
Flask, гордость и предубеждения
nimnull
0
310
Python non-mainstream web
nimnull
0
140
Агрегация и обработка статистики
nimnull
0
5.7k
Write once, run everywhere
nimnull
0
6.2k
GPU Computing in Python
nimnull
1
5.7k
MongoDB Без ORM
nimnull
0
290
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.6k
Introduction to kotlinx.rpc
arawn
0
630
Open source software: how to live long and go far
gaelvaroquaux
0
620
ARA Ansible for the teams
kksat
0
150
Grafana Cloudとソラカメ
devoc
0
140
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
890
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
240
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
200
Honoをフロントエンドで使う 3つのやり方
yusukebe
5
2.2k
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
335
57k
Automating Front-end Workflow
addyosmani
1367
200k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Rails Girls Zürich Keynote
gr2m
94
13k
Designing for Performance
lara
604
68k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
How STYLIGHT went responsive
nonsquared
98
5.3k
Transcript
To Flask or not to Flask
Contents • Werkzeug • Jinja2 • Glue and Stick
Full stack? • Never pretends, but someone tries to... •
Tired on handling contexts? • In case of accident, use Django or whatever
Again There no convenient ways, just best- practices and recommendations
Lack of out of the box solutions But you can be the first one to
First steps Keeping all stuff in couple of modules? Read
on flask.pocoo.org about cool “Growing big” techniques Have to go deeper!
Deeper Application Context Request Context
Even more deeper Extensions like Flask-SQLAlchemy, Flask- Security, etc. are
the nice source for inspiration
SQLAlchemy The only ORM
Jinja2 The only template engine
Python3 No way. For the God’s sake, no way! Why?
Armin.
Flask in production Take another 5 minutes to think
Flask in production Think twice
Flask in production Think even more
Flask in production Fast prototyping Quick start Tones of docs
and cook-books Widely spread across community
Flask in production Dude, you think about Django
Flask in production BUT
Flask in production Special cases are not a myth: NoSQL,
Complex relations, no fucking shitty- made and poor-extensible admin site, fast and powerful template engine, your name is Armin, your name is Yehor, pain in ass
So give it a chance To bring all those Django-based
prototypes to life Disclaimer: Speaker is not responsive for your time lost, health diseases, hodgie code and project deadlines