Saturday, March 13, 2010

Meeting #2 - (GWT and Google App Engine)

The second event for the Abuja GTUG took place today, 13th March.
The event was made up of two sessions. In the first session I discussed on building Ajax apps using the Google Web Toolkit (GWT). General introduction to Ajax and GWT was given and a demo on how to create GWT apps using Eclipse was shown.

The second session discussed on building cloud applications on App Engine. Google App Engine's overview was given pointing out the benefits that can be leveraged upon with App Engine including ease of development, achieving large scalable applications on Google's infrastructure, and getting up to 5 million page views/month for free.

In order to give a comprehensive demo on GWT and Goolge App Engine, I implemented a TwitterYoutube App, motivated by Chewy Trewhella's demo during the G-Nigeria Day 2010.

His demo which was built in Python, gets the trending topics on Twitter, then searches for Youtube videos related to the first trending topic and displays the videos. The TwitterYoutube App does similar thing and gets the first 10 trending topics on Twitter (excluding hashtags), search for Youtube videos related to a particular trending topic and displays 1st 10 videos of the search.

Twitter4j
API and Google Data API (for Java) were used to search for Twitter trending topics and Youtube videos respectively. The client and server side communication was easily achieved using GWT Remote Procedure Call (RPC). The application is hosted on Google App Engine and is live at this url: http://www.abujagtug.appspot.com.

You can find the complete Eclipse project for the TwitterYoutube app here. You can also get the presentation slides below:
1) Developing Ajax Apps With Google Web Toolkit (GWT)
2) Moving to the Cloud With Google App Engine

[Event Pics]