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
Flask - El microframework que revoluciona el mundo
Search
Hugo Ruscitti
November 17, 2012
1
470
Flask - El microframework que revoluciona el mundo
Hugo Ruscitti
November 17, 2012
Tweet
Share
More Decks by Hugo Ruscitti
See All by Hugo Ruscitti
Aprendiendo a programar videojuegos con pilas-engine
hugoruscitti
0
66
Haciendo aplicaciones desktop con NWJS
hugoruscitti
0
220
Taller de programación de videojuegos con pilas-engine
hugoruscitti
0
200
Taller: Introducción a Pilas (por Hugo Ruscitti)
hugoruscitti
0
270
Desarrollo de videojuegos con pilas-engine
hugoruscitti
1
92
Clase 4 - Bocetos y pintura
hugoruscitti
0
690
Haciendo aplicaciones complejas de manera simple
hugoruscitti
0
380
Cómo desarrollar videojuegos con pilas-engine
hugoruscitti
1
320
¡ La Vaca Voladora !
hugoruscitti
0
380
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
113
18k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
RailsConf 2023
tenderlove
0
500
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
178
11k
Embracing the Ebb and Flow
colly
78
4.1k
The Cost Of JavaScript in 2023
addyosmani
13
3.7k
Ruby is Unlike a Banana
tanoku
95
10k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
[RailsConf 2023] Rails as a piece of cake
palkan
21
3.8k
Adopting Sorbet at Scale
ufuk
66
8.5k
Build your cross-platform service in a week with App Engine
jlugia
223
17k
Building Your Own Lightsaber
phodgson
97
5.6k
Transcript
Flask El microframework que revoluciona la web. pyconar - 2012
http://gcoop.coop
¿Que es Flask? • Un microframework para desarrollar aplicaciones webs
y webservices.
¿Por que? • Es simple. • Se puede extender para
crecer. • Se integra fácilmente a otros componentes. • Tiene muy buena documentación. • Una gran comunidad de desarrolladores.
Comenzando ...
Una aplicación mínima...
Una aplicación mínima...
Templates
Templates Jinja render_template(“saludo.html”, nombre=”Juan”) Python: <h1>Hola {{nombre}}, bienvenido !!!</h1> Template:
“<h1>Hola Juan, bienvenido !!!</h1>” Resultado:
Helpers {% extends “layout.html” %} {% block body %} <h3>¿Tienen
el manual?</h3> <p> {{ pie(data) | safe }} {% endblock %}
Extendiendo ...
Recomendaciones http://flask.pocoo.org/docs
Extensiones http://flask.pocoo.org/extensions
Por ejemplo ... Flask-SuperAdmin
Prácticas http://www.12factor.net
Conclusiones • Lograr un enfoque simple. • Comenzar con lo
básico, luego crecer. • Leer y aprender de otras apps. • La estrategia es la clave, no la herramienta...
¡ Muchas gracias ! Diego Mascialino Hugo Ruscitti Joaquin Sorianello