This link has been bookmarked by 3 people . It was first bookmarked on 07 May 2008, by someone privately.
-
04 Aug 08
-
05 Jun 08
-
Building an OpenSocial App with Google App Engine
<!-- ########## PAGE CONTENT ########## --> Lane LiaBraaten, Google Developer Programs
April 2008While you can write OpenSocial apps that run solely in JavaScript and use the Persistence API to store data on the container, many OpenSocial apps communicate with a third-party server for data storage or application logic. Integrating with your own third-party server allows you to add new dimensions to your app, like providing a data API, hosting static content, or allowing configuration through an admin console.
In this article, we'll build an app that is similar to the gift-giving application built in the OpenSocial tutorial. When a user views the app, they see a drop-down menu of gifts (such as a peanut, or a red pistachio nut) and another drop-down menu containing a list of their friends. The user can give any of these gifts to a friend and the gift transaction will be displayed. The app will also display any gifts that the user has received. You can find all the source code used to run this application in the opensocial-gifts project on Google Code Project Hosting. You can also install this app on the orkut sandbox.
The original gift-giving app is built using 100% client-side OpenSocial code and is therefore subject to a number of limitations imposed by the container rendering the app, such as the amount of data the container will let you store, and the access controls related to when you can read and write data. With Google App Engine, you can manage all this data on an external server, freeing your app from any constraints imposed by the container. Viva la revolución!
-
-
31 May 08
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.