2. Y que es eso del GAE?
Google App Engine es una plataforma de desarrollo
Python & Java
Cloud Computing
Todo como un servicio
I have not heard two people say the same thing about it [cloud]. There
are multiple definitions out there of “the cloud”
Andy Isherwood, HP’s Vice President of European Software Sales
3. Google App Engine
Tenemos por seguro que hace una cosa bien: correr
aplicaciones web
Y ademas...
Simple
Escalable
Seguro
Balanceo de carga
5. App Engine Architecture
req/resp
stateless APIs R/O FS
urlfech Python stdlib
VM
mail process
app
images
stateful datastore
APIs memcache
5
6. Por que voy a dejar de usar
LAMP?
Pareciera ser EL estandar
...pero
Configuracion
Tuning
Problemas con el Hardware
Updates
Y mas
7. Datastore
Las Entidades tienen Kind, Key, y Propiedades
Entity ~~ Record ~~ Python dict ~~ Python class
instance
Key ~~ structured foreign key; includes Kind
Kind ~~ Table ~~ Python class
Property ~~ Column or Field; has a type
8. Desventajas
Ambiente muy controlado
Solo Python y Java por el momento
Facil de usar
...pero limitado (gratis)
Si los frameworks estan atados a bd relacionales, de
que forma pasaran a ser parte de GAE?
9. Cuando usar GAE
Queremos tenerlo funcionando ASAP
Empezando un proyecto nuevo
Conocemos Python
Las limitaciones no son un problema para nosotros
No estamos en un proyecto muy grande con cosas
dificiles de implementar
18. El resto de ElModelo
class BlogComment (db.Model):
author = db.UserProperty()
content = db.StringProperty(multiline=True)
date=db.DateTimeProperty(auto_now_add=True)
entry =
db.ReferenceProperty(BlogEntry,collection_name
='cm')