Top Banner
GDG DevFest Huacho 1 de Diciembre, 2012 Universidad Faustino Sanchez Carrión [email protected] http://www.gdglima.pe
18

Iniciando con Python y Google App Engine

Jul 04, 2015

Download

Engineering

GDG Lima
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Iniciando con Python y Google App Engine

GDG DevFest Huacho1 de Diciembre, 2012Universidad Faustino Sanchez Carrión

[email protected]://www.gdglima.pe

Page 2: Iniciando con Python y Google App Engine

Comunidad

[email protected]://www.gdglima.pe

Page 3: Iniciando con Python y Google App Engine

Hagamos Historia

#devfesthuacho Modo fiesta

[email protected]://www.gdglima.pe

Page 4: Iniciando con Python y Google App Engine

#devfesthuacho

[email protected]://www.gdglima.pe

Page 5: Iniciando con Python y Google App Engine

[email protected]://www.gdglima.pe

Page 6: Iniciando con Python y Google App Engine

Preguntas

[email protected]

[email protected]://www.gdglima.pe

Page 7: Iniciando con Python y Google App Engine

Iniciando con python y Google App Engine mi primera web

Hansy Schmitt [email protected]://gplus.to/hschmitt@hansyschmitt

Page 8: Iniciando con Python y Google App Engine

Que es Google App Engine

Partes de una aplicacion de GAE

La nueva era

Hola Mundo en GAE

Desarrollando la aplicacion de alta disponibilidad

Codigo

Agenda

[email protected]://www.gdglima.pe

Page 9: Iniciando con Python y Google App Engine

Que es Google App Engine

●Es una plataforma que te permite desarrollar tus aplicaciones usando la nube de google.

●Las aplicaciones que usan GAE son faciles de mantener y actualizar, usando el SDK de AppEngine disponible en los lenguajes python y java.

[email protected]://www.gdglima.pe

Page 10: Iniciando con Python y Google App Engine

Partes de una aplicacion de GAE

●Tenemos 2 partes importantes:●El archivo app.yaml, que mantiene la configuracion del archivo●Los handlers , que reciben la peticion y devuelven la respuesta al navegador.

[email protected]://www.gdglima.pe

Page 11: Iniciando con Python y Google App Engine

Hola Mundo en GAE

●Para esto crearemos 2 archivos en 1 directorio:●app.yaml que contiene

application: helloworldversion: 1runtime: pythonapi_version: 1

handlers:- url: /.* script: helloworld.py

[email protected]://www.gdglima.pe

Page 12: Iniciando con Python y Google App Engine

helloworld.py

print 'Content-Type: text/plain'print ''print 'Hello, world!'

[email protected]://www.gdglima.pe

Page 13: Iniciando con Python y Google App Engine

Desarrollo de la aplicacion

* Para esto usaremos los siguientes componentes: * Python 2.7 * WebApp2 como framework * Jinja2 como manejador de plantillas. * Memcache como cache de backend. * Handlers personalizados.

[email protected]://www.gdglima.pe

Page 14: Iniciando con Python y Google App Engine

Descarga del codigo de ejemplo

El codigo de ejemplo lo pueden encontrar en:

https://github.com/hschmitt/adtg-demo-blog

[email protected]://www.gdglima.pe

Page 15: Iniciando con Python y Google App Engine

<Preguntas?>

devfestlima.gdglima.pe/#moderator

Page 16: Iniciando con Python y Google App Engine

Google DevRel LatAm South Region

¡PARTICIPA DE LA COMUNIDAD EN ESPAÑOL!

1. Academic Developer TG - ADTG2. Envía tus artículos a LookThisCode.3. Participa de Developers Live en Español.

Page 17: Iniciando con Python y Google App Engine

<Gracias por participar!>

[email protected]

@gdglima

Page 18: Iniciando con Python y Google App Engine