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
320
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
290
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
マテリアルって何者?RealityKitで扱うマテリアル入門
nao_randd
0
140
ワンバイナリWebサービスのススメ
mackee
10
7.2k
rbs-traceを使ってWEARで型生成を試してみた After RubyKaigi 2025〜ZOZO、ファインディ、ピクシブ〜 / tried rbs-trace on WEAR
oyamakei
0
900
テスト分析入門/Test Analysis Tutorial
goyoki
11
2.6k
tsconfigのオプションで変わる型世界
keisukeikeda
1
120
イベントソーシングとAIの親和性ー物語とLLMに理解できるデータ
tomohisa
1
160
CRUD から CQRS へ ~ 分離が可能にする柔軟性
tkawae
0
220
ドメイン駆動設計とXPで支える子どもの未来 / Domain-Driven Design and XP Supporting Children's Future
nrslib
0
350
Use Perl as Better Shell Script
karupanerura
0
600
バランスを見極めよう!実装の意味を明示するための型定義 TSKaigi 2025 Day2 (5/24)
whatasoda
2
760
Rethinking Data Access: The New httpResource in Angular
manfredsteyer
PRO
0
210
TypeScript を活かしてデザインシステム MCP を作る / #tskaigi_after_night
izumin5210
4
460
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
How to Ace a Technical Interview
jacobian
276
23k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Site-Speed That Sticks
csswizardry
7
580
We Have a Design System, Now What?
morganepeng
52
7.6k
Done Done
chrislema
184
16k
Facilitating Awesome Meetings
lara
54
6.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
RailsConf 2023
tenderlove
30
1.1k
4 Signs Your Business is Dying
shpigford
183
22k
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