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
640
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
To Flask or not to Flask
Slides for my speech at DneprPy community meet-up #1
Yehor Nazarkin
February 24, 2013
More Decks by Yehor Nazarkin
See All by Yehor Nazarkin
Flask, гордость и предубеждения
nimnull
0
350
Python non-mainstream web
nimnull
0
170
Агрегация и обработка статистики
nimnull
0
5.7k
Write once, run everywhere
nimnull
0
6.3k
GPU Computing in Python
nimnull
1
5.7k
MongoDB Без ORM
nimnull
0
330
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.7k
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
200
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
AIで効率化できた業務・日常
ochtum
0
140
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
270
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
200
RTSPクライアントを自作してみた話
simotin13
0
610
スマートグラスで並列バイブコーディング
hyshu
0
150
The NotImplementedError Problem in Ruby
koic
1
820
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
390
YesSQL, Process and Tooling at Scale
rocio
174
15k
Music & Morning Musume
bryan
47
7.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
620
Un-Boring Meetings
codingconduct
0
320
How GitHub (no longer) Works
holman
316
150k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
Docker and Python
trallard
47
3.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Marketing to machines
jonoalderson
1
5.5k
Building AI with AI
inesmontani
PRO
1
1.1k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
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