Google App Engine Channel API enables Push Data Application Development

The demand for ever more sophisticated user interfaces in Web applications means that the skill set of the developers for these applications is not just server side scripting in languages such as Python or development in Java for example. Developers must also be expert in client side development in JavaScript to write code to interact with the server side code asynchronously. This model of development is a pull data approach where the client code has to pull data from the server. In those applications whereby the data on the server is only needed on the client if the data has changed, the client typically polls the server periodically, pulling the data and then checking to see if it has changed. Such an approach is not ideal for many reasons. Firstly, unnecessary work is being placed on both the client and the server, as undoubtedly requests will be made when there are no changes to the data. Secondly, changes in server side data will not be detected by the client until the next pull of data, meaning that if the frequency of checking is not high, the user interface will display stale data and may even miss some data changes.

The above problem occurs because HTTP is a stateless protocol with every request potentially on a new network connection. To solve the above problem, those using the Google App Engine (GAE) can make use of a new library known as the Channel API. This API allows a persistent connection to be made between a browser based application client and the server side code running on GAE servers. This solution comprises of server side libraries in Java and Python as well as a JavaScript library for the client side code. The Channel API allows the server side code to ‘push’ data changes to the client side code as and when needed.

The Channel API released by Google is an example of the innovation of the major Cloud vendors, providing Cloud based solutions to long existing problems in a clean lightweight manner. If you require a push data Web application, this API is definitely worthy of consideration. For more details, take a look here. If you would like to know more in general about the Google App Engine and how it compares to other Cloud Computing products such as Azure and Amazon AWS, why not consider attending the Learning Tree Cloud Computing course.

Chris

0 Responses to “Google App Engine Channel API enables Push Data Application Development”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Learning Tree Logo

Cloud Computing Training

Learning Tree offers over 245 IT and Management courses, including over 10 courses on Cloud Computing and Virtualization.

Enter your e-mail address to follow this blog and receive notifications of new posts by e-mail.

Join 1,701 other followers

Follow Learning Tree on Twitter

Archives

Do you need a customized Cloud training solution delivered at your facility?

Last year Learning Tree held nearly 2,500 on-site training events worldwide. To find out more about hosting one at your location, click here for a free consultation.
Live, online training
.NET Blog

Follow

Get every new post delivered to your Inbox.

Join 1,701 other followers