useful google app engine services (in python language)
Post on 21-Oct-2014
3.714 views
DESCRIPTION
Present useful Google App Engine services at Barcamp Sai Gon 2011. Download the demo source code at: http://code.google.com/p/google-app-engine-samples/TRANSCRIPT
Duy Lam 2011
Useful Google App Engine services (Python language)
You’re a web developer ?
This discussion: Highlight notable and useful Google App
Engine services Not focus on Python language
Audience & Objectives
App Engine ?
Useful App Engine services
Administration Console
runs your web application offers variety of services
for common operations of web application (via provided SDK)
App Engine ?
Software as a Service
Platform as a Service
Infrastructure as a Service
Cloud computing
runs your web application
App Engine ? (cont.)
Java Environment Python Environment
Java SE Runtime Environment 6*
Python runtime 2.5.2*
Java Servlet standard and JavaServer Pages
Django, CherryPy, Pylons, web.py and webapp**
Java SDK service Python SDK service + third party libraries*
* must meet secure environment restrictions ** built by Google App Engine
offers variety of services for common operations of web application (via provided SDK)
App Engine ? (cont.)
Datastoring Blobstore XMPP Prospectiv
e Search Images
Mail Memcache Channel Task Queues URL Fetch
Users Capabilities
Multitenancy OAuth
App Engine ?
Useful App Engine services
Administration Console
Useful App Engine Services
Task Queues Channel
Image Mail
To execute a background work
Task Queues
HTTP Post
/path/to/backgroundtaskBackground task
add “/path/to/backgroundtask” +
parameters
App Engine Task Queue service
App Engine application
API call
Task Queues demo
Allow your application to send messages to JavaScript clients in real time via a persistent connection
Channel
Browser
HTTP Request
App Engine application
Message
Channel demo
Sending email• Support plaintext and HTML
body + file attachments (only allowed file types)
• The From address can be the email address of:• registered administrator• signed in Google Account• string@<appid>.appspotmai
l.com
Receiving email• Receive incoming email at
string@<appid>.appspotmail.com addresses
• Receive messages in the form of HTTP requests initiated by App Engine and posted to the app
Receiving email
Mail (cont.)
HTTP Post
incoming email App Engine Mail serviceApp Engine
application
incoming email
Mail demo
Provides the ability to manipulate image data like resizing, rotating, flipping, cropping
Input image data is in the JPEG, PNG, GIF (including animated GIF), BMP, TIFF and ICO formats. The output format is in JPEG and PNG
Images
Images demo
App Engine ?
Useful App Engine services
Administration Console
Administration Console
Demo application: http://barcamp2011.appspot.com Source code: http://
code.google.com/p/barcamp-saigon-2011-appengine-demo
It’s FREE to get started with App Engine:5M pageviews a month
Check out: http://code.google.com/appengine/ Code example: http://
code.google.com/p/google-app-engine-samples
Reference
Thank youThe End