Duy Lam 2011<br />Useful Google App Engine services (Python language)<br />
Lâm Phương Duy<br />Web Developer, KMS Technology Vietnam<br />Email: duylamphuong@gmail.com<br />Me<br />
You’re a web developer ?<br />This discussion:<br />Highlight notable and useful Google App Engine services<br />Not focus...
runs your web application<br />offers variety of services for common operations of web application (via provided SDK)<br /...
runs your web application<br />App Engine ? (cont.)<br />*   must meet secure environment restrictions <br />**built by Go...
offers variety of services for common operations of web application (via provided SDK)<br />App Engine ? (cont.)<br />
Useful App Engine Services<br />
To execute abackground work<br />Task Queues<br />add  “/path/to/backgroundtask” + parameters<br />API call<br />App Engin...
Task Queues demo<br />
Allow your application to send messages to JavaScript clients in real time via a persistent connection<br />Channel<br />H...
Channel demo<br />
Mail<br />
Receiving email<br />Mail (cont.)<br />incoming email<br />HTTP Post<br />incoming email<br />App Engine <br />Mail servic...
Mail demo<br />
Provides the ability to manipulate image data like resizing, rotating, flipping, cropping<br />Input image data is in the ...
Images demo<br />
Administration Console<br />
Demo application: http://barcamp2011.appspot.com<br />Source code: http://code.google.com/p/barcamp-saigon-2011-appengine-...
Thank you<br />The End<br />
Upcoming SlideShare
Loading in …5
×

Useful Google App Engine services (in Python language)

3,661 views

Published on

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/

Published in: Technology, Business
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
3,661
On SlideShare
0
From Embeds
0
Number of Embeds
600
Actions
Shares
0
Downloads
15
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide
  • DiscussGoogle App Engine services that differentiate themselves from other cloud platform service providers such as Microsoft Windows AzureThe use of Python language in this present is to show the audience another new , great language instead of the well-known Java language
  • webapp: a simple web framework built by Google App EngineThird-party python libraries: example: web application framework, cryptography, YAML parsing libraries etc.
  • Datastoring : a robust, scalable storage for your web application, with an emphasis on read and query performanceBlobstore: to serve data objects, called blobs, that are much larger than the size allowed for objects in the Datastore serviceXMPP: to send and receive chat messages to and from any XMPP-compatible chat messaging service, such as Google TalkProspective Search:a querying service that allows your application to match search queries against real-time data streams (no need of pre-index the data)Images:the ability to manipulate image data using a dedicated Images serviceMail: send and receive emailMemcache: a distributed in-memory data cache in front of or in place of robust persistent storageMultitenancy: Multitenancy is the name given to a software architecture in which one instance of an application, running on a remote server, serves many client organizations (also known as tenants). Using the Namespaces API, you can easily partition data across tenants simply by specifying a unique namespace string for each tenantOAuth: OAuth is a protocol that allows a user to grant a third party limited permission to access a web application on her behalf, without sharing her credentials (username and password) with the third party. The application seeking permission is the consumer, and the application providing the data is the service provider. Using Google Accounts and a simple API, any App Engine application can be an OAuth service providerChannel: creates a persistent connection between your application and Google servers, allowing your application to send messages to JavaScript clients in real time without the use of pollingTask Queues:  If an app needs to execute some background work, it may use the Task Queue API to organize that work into small, discrete units, called tasksURL Fetch:  An app can use the URL Fetch service to issue HTTP and HTTPS requests and receive responsesUsers: a user can login to app engine in one of three methods: Google Accounts, accounts on your own Google Apps domains, or OpenID identifiers. This API to retrieve account info for userCapabilities: detect outages and scheduled downtime for specific API capabilities. You can use this API to reduce downtime in your application by detecting when a capability is unavailable and then bypassing it
  • Task Queue: Google App Engine introduces new method for developer to implement a background workChannel : make a persistent connection between the JavaScript client and your applicationImage: to manipulate image data using a dedicated Images serviceMail: allow sending and receiving email
  • The JS client component: listen from connection to to receive data from serverApp Engine application :Use API to send message to connectionReceive data from client via normal HTTP request
  • Useful Google App Engine services (in Python language)

    1. 1. Duy Lam 2011<br />Useful Google App Engine services (Python language)<br />
    2. 2. Lâm Phương Duy<br />Web Developer, KMS Technology Vietnam<br />Email: duylamphuong@gmail.com<br />Me<br />
    3. 3. You’re a web developer ?<br />This discussion:<br />Highlight notable and useful Google App Engine services<br />Not focus on Python language<br />Audience & Objectives<br />
    4. 4.
    5. 5. runs your web application<br />offers variety of services for common operations of web application (via provided SDK)<br />App Engine ?<br />Cloud computing<br />
    6. 6. runs your web application<br />App Engine ? (cont.)<br />* must meet secure environment restrictions <br />**built by Google App Engine<br />
    7. 7. offers variety of services for common operations of web application (via provided SDK)<br />App Engine ? (cont.)<br />
    8. 8.
    9. 9. Useful App Engine Services<br />
    10. 10. To execute abackground work<br />Task Queues<br />add “/path/to/backgroundtask” + parameters<br />API call<br />App Engine application<br />HTTP Post<br />App Engine <br />Task Queue service<br />/path/to/backgroundtask<br />Background task<br />
    11. 11. Task Queues demo<br />
    12. 12. Allow your application to send messages to JavaScript clients in real time via a persistent connection<br />Channel<br />HTTP Request<br />App Engine application<br />Message<br />Browser<br />
    13. 13. Channel demo<br />
    14. 14. Mail<br />
    15. 15. Receiving email<br />Mail (cont.)<br />incoming email<br />HTTP Post<br />incoming email<br />App Engine <br />Mail service<br />App Engine application<br />
    16. 16. Mail demo<br />
    17. 17. Provides the ability to manipulate image data like resizing, rotating, flipping, cropping<br />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<br />Images<br />
    18. 18. Images demo<br />
    19. 19.
    20. 20. Administration Console<br />
    21. 21. Demo application: http://barcamp2011.appspot.com<br />Source code: http://code.google.com/p/barcamp-saigon-2011-appengine-demo<br />It’s FREE to get started with App Engine:<br /> 5M pageviews a month<br />Check out: http://code.google.com/appengine/<br />Code example: http://code.google.com/p/google-app-engine-samples<br />Reference<br />
    22. 22. Thank you<br />The End<br />

    ×