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
280
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
Оптимизируем производительность блока Казначейство
lamodatech
0
950
Scaling your build logic
antalmonori
1
100
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
170
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
5.2k
為你自己學 Python
eddie
0
520
最近のVS Codeで気になるニュース 2025/01
74th
1
100
AHC041解説
terryu16
0
400
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
280
HTML/CSS超絶浅い説明
yuki0329
0
190
Featured
See All Featured
Navigating Team Friction
lara
183
15k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
3
180
Writing Fast Ruby
sferik
628
61k
Into the Great Unknown - MozCon
thekraken
34
1.6k
How GitHub (no longer) Works
holman
312
140k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Why Our Code Smells
bkeepers
PRO
335
57k
4 Signs Your Business is Dying
shpigford
182
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How STYLIGHT went responsive
nonsquared
96
5.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
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