Useful Google App Engine services (in Python language)
-
date post
21-Oct-2014 -
Category
Technology
-
view
3.715 -
download
0
description
Transcript of Useful Google App Engine services (in Python language)
![Page 1: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/1.jpg)
Duy Lam 2011
Useful Google App Engine services (Python language)
![Page 3: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/3.jpg)
You’re a web developer ?
This discussion: Highlight notable and useful Google App
Engine services Not focus on Python language
Audience & Objectives
![Page 4: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/4.jpg)
App Engine ?
Useful App Engine services
Administration Console
![Page 5: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/5.jpg)
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
![Page 6: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/6.jpg)
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
![Page 7: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/7.jpg)
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
![Page 8: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/8.jpg)
App Engine ?
Useful App Engine services
Administration Console
![Page 9: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/9.jpg)
Useful App Engine Services
Task Queues Channel
Image Mail
![Page 10: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/10.jpg)
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
![Page 11: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/11.jpg)
Task Queues demo
![Page 12: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/12.jpg)
Allow your application to send messages to JavaScript clients in real time via a persistent connection
Channel
Browser
HTTP Request
App Engine application
Message
![Page 13: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/13.jpg)
Channel demo
![Page 14: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/14.jpg)
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
![Page 15: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/15.jpg)
Receiving email
Mail (cont.)
HTTP Post
incoming email App Engine Mail serviceApp Engine
application
incoming email
![Page 16: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/16.jpg)
Mail demo
![Page 17: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/17.jpg)
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
![Page 18: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/18.jpg)
Images demo
![Page 19: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/19.jpg)
App Engine ?
Useful App Engine services
Administration Console
![Page 20: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/20.jpg)
Administration Console
![Page 21: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/21.jpg)
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
![Page 22: Useful Google App Engine services (in Python language)](https://reader034.fdocuments.net/reader034/viewer/2022050815/54477b35afaf9f61178b4a34/html5/thumbnails/22.jpg)
Thank youThe End