Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
To Flask or not to Flask
Search
Yehor Nazarkin
February 24, 2013
Programming
650
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.8k
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.8k
Other Decks in Programming
See All in Programming
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
150
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1k
Java 27新機能 / Java 27 new features
kishida
2
190
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.3k
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
330
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.2k
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.3k
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
120
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
300
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
380
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Bash Introduction
62gerente
615
220k
Fireside Chat
paigeccino
43
4k
Exploring anti-patterns in Rails
aemeredith
4
520
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Are puppies a ranking factor?
jonoalderson
2
4k
The Curious Case for Waylosing
cassininazir
1
550
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
520
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Writing Fast Ruby
sferik
630
63k
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