Loading...

Cette présentation est un site web HTML5

Appuyez sur pour avancer.

Contrôles :

  • et pour vous déplacer.
  • Ctrl/Command et + ou - pour (dé)zoomer.
  • T pour changer le thème.
  • H pour (dés)activer le surlignage de code.

Google App Engine

Sommaire
  • Types de Cloud
  • Google App Engine
    • Services
    • Limites
    • Administration
    • Java
    • Python
    • Dojo Python
Types de Cloud
  • IaaS : Infrastructure as a Service (Amazon Web Services)
  • PaaS : Platform as a Service (AppEngine, Azure)
  • SaaS : Software as a Service (Google Apps, Wordpress)
Google App Engine
  • Hébergement Web
  • Monté (et descente) en charge auto.
  • Python 2.5 / Java 6
  • NoSQL
  • Sandbox
  • Gratuit avec quota / payant
  • Release tous les 2 mois
Services
  • BigTable
  • Google Accounts / OpenId / OAuth
  • Memcache
  • URL Fetch, Mail
  • Images
  • XMPP
  • Task Queue
  • Cron
Limites
  • pas de sockets
  • pas de Thread
  • pas d'écriture de fichiers
  • exécution : requête HTTP ou Task Queue
  • 30 secondes max / requête
  • subset de Java SE (JRE Class White List)
  • pas d'extensions C pour Python
  • SSL/HTTPS seulement via *.appspot.com
Administration

https://appengine.google.com

Java
Dojo Java
  • Kata
Python
http://valte.ch

http://valte.ch - source sur github

Dojo Python & tour
  • Point de départ : branche dojo
  • app.yaml, index.yaml
  • Kata : shortener.py
  • Kata : urlModel.py
  • Controlleur : controller.py
  • Templating : home.html
  • A l'arrivée : tag dojo-working-version