Monthly Archives: May 2009

Flex on Grails: Building an image transformation tool with the Google App Engine, Flex and Grails

In this screencast, I show how to use Flex, Grails and the Google App Engine’s image service to quickly build an online image resizing and rotation tool.

Advertisements

More Efficient Facebook / Flex API – using XML and e4x instead of ActionScript Objects

I’m a big fan of the e4x implementation in Flex. Elegant and powerful, it allows a versatile and dynamic way of passing data across components. In this post, I’ll describe how to access data in this raw XML format within the newly updated Facebook / Flex API.

If you’re a fan of the way Flex handles XML via e4x, you’re probably disappointed that all the new examples posted on the Adobe developer connection create new ActionScript objects to represent facebook instances. In this post, I’ll briefly describe how to work with XML instances directly and describe some of benefits of this approach. Continue reading

Grails Scaffolding CRUD Templates for Google App Engine / Java

Update : This code has been merged into the Grails 1.1.1. release of the App Engine Plugin, please see the Spring Source Blog for a screencast and how to use this.

I spent a few hours trying to understand how JDO works on the app engine yesterday. I had some experience tinkering with the Grails templating system, and thought it would be a neat experiment to port the Templates into JDO / Persistence Manager. Here is a full working CRUD template for Grails based on JDO. The intent here is to rewrite the controllers to use JDO while retaining complete compatibility of the views. Continue reading