YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Useful Google App Engine services (in Python language)

Duy Lam 2011

Useful Google App Engine services (Python language)

Page 2: Useful Google App Engine services (in Python language)

Lâm Phương DuyWeb Developer, KMS Technology Vietnam

Email: [email protected]

Me

Page 3: Useful Google App Engine services (in Python language)

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)

App Engine ?

Useful App Engine services

Administration Console

Page 5: Useful Google App Engine services (in Python language)

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)

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)

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)

App Engine ?

Useful App Engine services

Administration Console

Page 9: Useful Google App Engine services (in Python language)

Useful App Engine Services

Task Queues Channel

Image Mail

Page 10: Useful Google App Engine services (in Python language)

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)

Task Queues demo

Page 12: Useful Google App Engine services (in Python language)

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)

Channel demo

Page 14: Useful Google App Engine services (in Python language)

Mail

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)

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)

Mail demo

Page 17: Useful Google App Engine services (in Python language)

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)

Images demo

Page 19: Useful Google App Engine services (in Python language)

App Engine ?

Useful App Engine services

Administration Console

Page 20: Useful Google App Engine services (in Python language)

Administration Console

Page 21: Useful Google App Engine services (in Python language)

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)

Thank youThe End


Related Documents