Как работает App Engine Node 2 Node 1 HTTP Request Google Cluster 1 Datastore Node 1 Cluster 1 Node 3 Node N Node 3 Node 2 Node N HTTP Response Node 2 Node 1 Google Cluster N Datastore Node 1 Cluster M Node 3 Node 2 Node N Node 3 Python web server Node N Persistent Layer
Конфигурация приложения - app. yaml application: helloworld version: 1 runtime: python api_version: 1 handlers: - url: /. * script: helloworld. py yaml (yet another markup language) - Deployment Descriptor for the Application Maps URLs to the handlers
Web. App Framework (Google’s Web framework) Django Framework (Third Party) Web. Ob Framework (Third Party) Python Runtime-компоненты приложения, развернутого на App Engine app. yaml (deployment descriptor) URL Python Handlers /*. html Html. Handler /*. form Form. Handler Mail APIs Users Mem. Cache APIs Data Store APIs
Request Handler - helloworld. py
Data. Store - Runtime компоненты
App Engine Data. Store Entity from db. Model Persisting An Entity
GQL
Полезные ресурсы • Документация и SDK: http: //code. google. com/appengine/ • Список рассылки: http: //groups. google. com/group/google-appengine/