Tomás Lin’s Programming Brain Dump

Flex, Grails, Facebook, iPhone and all that Jazz

Posts Tagged ‘Flex

Lessons Learned: Building a simple Ad Host with Grails on the Google App Engine

with 2 comments

In this post, I share my experiences building a simple Content Host with Grails and the Google App Engine.

banner_300_250

Read the rest of this entry »

Written by Tomas Lin

September 1, 2009 at 7:57 pm

Posted in Uncategorized

Tagged with , , , ,

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

with 3 comments

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.

Written by Tomas Lin

May 25, 2009 at 8:30 pm

5 Reasons for Flex Developers to consider a Grails / Google App Engine Backend

with 10 comments

Today, Grails 1.1.1. was released with support for deploying applications on the Google App Engine. Here are five reasons why I think Flex Developers will fall in love with a Grails / GAE backend. Read the rest of this entry »

Written by Tomas Lin

May 14, 2009 at 8:32 pm

Posted in Uncategorized

Tagged with , ,

Google Sets Haiku Generator

with 4 comments

Here is a small App I built for the Google App Engine in Flex – It generates Haikus based on Google Sets suggestions:

Google Sets Haiku Generator

I can haz cheesburgers now
emotional smile impact mirrors mirror’s can’t flatline
shine negative breathe lowlife dreams

Who says computers can’t poetry?

Written by Tomas Lin

May 13, 2009 at 7:07 pm

Calling FQL with the Facebook / Flex API

with 3 comments

FQL is the query language used in Facebook to access tables and relationships. All the top level calls available within facebook APIs ( such as getFriends() ) are simply wrappers around FQL calls. In this post, I will show you how to use the newly released Adobe Flex / Facebook API to invoke FQL commands.

A simple FQL shell

Read the rest of this entry »

Written by Tomas Lin

May 10, 2009 at 9:21 am

Posted in Uncategorized

Tagged with , ,

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

with 5 comments

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. Read the rest of this entry »

Written by Tomas Lin

May 9, 2009 at 7:01 pm

Posted in Uncategorized

Tagged with , ,

How Much Hue is There? Flex, HSB and BitmapData.

without comments

Here is a simple tool in Flex that calculates what percentage of top level hues are in an image.

A simple hue visualizer

A simple hue visualizer

Play with the tool by clicking here: Hue Analysis

Download the source file here: ColourAnalysis.mxml

( depending on your SDK, you might need to also download the HSBColor.as file: here )

Read the rest of this entry »

Written by Tomas Lin

April 18, 2009 at 3:14 pm

Posted in Uncategorized

Tagged with , , ,

Dan Aykroyd Wines – A site in Flex, HTML and Grails

with 3 comments

One of the last projects I worked with Mindblossom, Dan Aykroyd Wines, has gone live on the web. The site was built using a combination of HTML and JavaScript, Grails and Flex.

You can see the site at http://www.danaykroydwines.com/

DAWDAWfirefoxscreensnapz014aykroydaykoryd

Read the rest of this entry »

Written by Tomas Lin

March 23, 2009 at 10:28 pm

Posted in Uncategorized

Tagged with ,

Grails and Flex — some interesting recent links

with 2 comments

I’ve been following the integration between the Adobe Flex stack and Grails for a while, and there has been some interesting recent developments in this world. I thought I would gather them in one place so they can easily be referenced.
Read the rest of this entry »

Written by Tomas Lin

March 22, 2009 at 5:02 pm

Posted in Uncategorized

Tagged with , , ,

Dynamic Flex Scaffolding for Grails via REST Services : Part 1: Getting the model out to Flex via REST services.

with 2 comments

I’m building a mechanism to build dynamic CRUD scaffolding for Flex on Grails via REST services. In this post, I will outline the overall goals of this experiment, and document some of the progress I have made with serializing Grails domain classes out as XML. Read the rest of this entry »

Written by Tomas Lin

February 26, 2009 at 7:09 pm