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
290
Python non-mainstream web
nimnull
0
130
Агрегация и обработка статистики
nimnull
0
5.7k
Write once, run everywhere
nimnull
0
6.2k
GPU Computing in Python
nimnull
1
5.6k
MongoDB Без ORM
nimnull
0
270
REST in Flask (And small client-side intro)
nimnull
10
1.7k
Other Decks in Programming
See All in Programming
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
160
What is Parser
yui_knk
9
4.1k
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
事業フェーズの変化に対応する 開発生産性向上のゼロイチ
masaygggg
0
200
Prompt Cachingは本当に効果的なのか検証してみた.pdf
ttnyt8701
0
530
令和トラベルにおけるLLM活用事例:社内ツール開発から得た学びと実践
ippo012
0
150
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
170
はじめてみよう量子プログラミング
itokoichi01
0
190
Shinjuku.rb#95:心の技術書紹介
free_world21
1
110
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
0
110
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
810
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
How STYLIGHT went responsive
nonsquared
93
5.1k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Docker and Python
trallard
39
3k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
227
52k
Adopting Sorbet at Scale
ufuk
73
8.9k
A Philosophy of Restraint
colly
202
16k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
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