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
Writing web apps in python, using flask
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Redouane Zait
December 06, 2013
Programming
68
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Writing web apps in python, using flask
talk given online, at the dzgeeks hangout
Redouane Zait
December 06, 2013
Other Decks in Programming
See All in Programming
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
210
ActionController meets Protocol Buffers
sorah
0
530
R8 の設定見直しでアプリサイズ削減
andpad
0
220
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
Domain-Driven Transformation
hschwentner
2
2.3k
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.6k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
470
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
The untapped power of vector embeddings
frankvandijk
2
1.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
410
Prompt Engineering for Job Search
mfonobong
0
520
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Why Our Code Smells
bkeepers
PRO
340
58k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Transcript
Ecrire des applications web en python, avec Flask. Redouane Zait,
[email protected]
Vous avez dit Python ?
3
2
Non
1
Oui !
Python est: - Qdim - Kbir - Chbab - Mreffah
traductions disponibles sur www.dardja.com
Python est: - Qdim - Kbir - Chbab - Mreffah
- Mature - Popular - Beautiful - Rich and diverse libraries / ecosystem - Slow ( sans smir )
Python est: - Qdim - Kbir - Chbab - Mreffah
- Mature - Popular - Beautiful - Rich and diverse libraries / ecosystem - Slow ( sans smir )
Python est: - Qdim - Kbir - Chbab - Mreffah
- Mature - Popular - Beautiful - Rich and diverse libraries / ecosystem - Slow ( sans smir )
Use the right tool for the job.
Web Frameworks
Frameworks 101 - Request dispatcher - Template engine - Cookies
& sessions - Debugger
Frameworks 101 - Request dispatcher (werkzeug) - Template engine (
Jinja 2) - Cookies & sessions - Debugger ( Werkzeug ) +
Frameworks 101 - Request dispatcher (werkzeug) - Template engine (
Jinja 2) - Cookies & sessions - Debugger ( Werkzeug ) + = Flask
Fonctionalités de Flask: - Pas d’accès aux bases de données
- Pas de validations de formulaires web - Pas de système d’authentification et authorization - Pas de support Email - Pas de caching - Pas de Pas
Pas de Pas
Fonctionalités de Flask: - Extensible - Request dispatcher - Template
Engine - Joli debugger ! - Secure cookies & sessions
Quelque extensions de Flask: - Flask-WTF (validation de formulaires) -
Flask-SQLAlchemy ( ORM & DBApi ) - Flask-Mail ( envoi de mails ) - Fask-Script ( commandes externes ) - Flask-Testing (tests unitaires et fonctionnelles) Liste non exhaustive dispo sur: http://flask.pocoo.org/extensions/
Hello, Worldرﺋازﺟﻟا from flask import Flask app = Flask(__name__) @app.route("/")
def hello(): return "Hello, رﺋازﺟﻟا !" if __name__ == "__main__": app.run()
Demo Forum de discussion
Questions / suggestions are welcome !!!1 Redouane Zait,
[email protected]