Framework×10-6. WTF?
Роман Лапин, Evercode Lab
@memphys, [email protected]
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
Unix philosophy
Write programs that do one thing and do it
well. Write programs to work together. Write
programs to handle text streams, because that
is a universal interface.
Doug McIlroy
Slide 4
Slide 4 text
Микро? WTF?
• Не full-stack
• Нет четкой структуры для проектов
• Т.е. делает мало, но достаточно
• Single page (обычно)
• Less overhead
• Extensible
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
Микро? WTF?
“Micro” does not mean that your whole web
application has to fit into a single Python file,
although it certainly can. Nor does it mean that
Flask is lacking in functionality. The “micro” in
microframework means Flask aims to keep the
core simple but extensible.
http://flask.pocoo.org/docs/foreword/#what-does-micro-mean
10-6. Good parts
• Мозг не лопается
• Наглядность
• Просто начать
• Это весело
Slide 23
Slide 23 text
10-6. Bad parts
• Большинство решений на усмотрение
• Нет единой структуры (как правило)
• Code reuse?
• Как вовремя понять, что проект слишком
вырос?
• Когда выбрасывать прототип?