Useful Google App Engine services (in Python language)

Post on 21-Oct-2014

3708 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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)

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

Email: duylamphuong@gmail.com

Me

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

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

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

Thank youThe End

top related