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
630
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
330
Python non-mainstream web
nimnull
0
150
Агрегация и обработка статистики
nimnull
0
5.7k
Write once, run everywhere
nimnull
0
6.2k
GPU Computing in Python
nimnull
1
5.7k
MongoDB Без ORM
nimnull
0
300
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
Claude Code で Astro blog を Pages から Workers へ移行してみた
codehex
0
140
PHPカンファレンス関西2025 基調講演
sugimotokei
5
930
AIコーディングエージェント全社導入とセキュリティ対策
hikaruegashira
11
6.9k
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
220
リッチエディターを安全に開発・運用するために
unachang113
1
230
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
PHPUnitの限界をPlaywrightで補完するテストアプローチ
yuzneri
0
270
マッチングアプリにおけるフリックUIで苦労したこと
yuheiito
0
240
SwiftでMCPサーバーを作ろう!
giginet
PRO
2
190
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
180
型で語るカタ
irof
0
800
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
12
7.4k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
We Have a Design System, Now What?
morganepeng
53
7.7k
What's in a price? How to price your products and services
michaelherold
246
12k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
A Tale of Four Properties
chriscoyier
160
23k
Building an army of robots
kneath
306
45k
GitHub's CSS Performance
jonrohan
1031
460k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Statistics for Hackers
jakevdp
799
220k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
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