Tomás Lin’s Programming Brain Dump

Flex, Grails, Facebook, iPhone and all that Jazz

Will be speaking at the Spring2gx Day in Madrid on Feb. 19

with one comment

I’m updating my Flex 4 and Grails talk and presenting it in Spanish at the Spring2Gx day organized by JavaHispano and SpringSource. It happens on February 19 in Madrid, Spain.

Find out more about the event here: http://www.javahispano.org/spring2gxday/

Talk details here: http://www.javahispano.org/spring2gxday/detalle.html?id=490

Written by Tomas Lin

January 20, 2010 at 5:34 am

Posted in Uncategorized

Image drag and drop from browsers / desktop to Adobe AIR

leave a comment »

For a recent prototype I’m working on, I had the requirement of being able to drag and drop images from either a web browser or the desktop into my Adobe Air application.

While this seemed like a simple task, it turned out a little more difficult than I thought. Every browser writes a slightly different reference of the image to the browser.

In this post, I want to share some of these findings so that you don’t waste too much of your own time trying to figure this out. I assume you know enough about Flex Drag and Drop to understand this post.

Read the rest of this entry »

Written by Tomas Lin

January 15, 2010 at 10:43 am

Posted in Uncategorized

Properly Thought Out Answers to questions on my GGX London Talk on Flex and Grails

leave a comment »

I just re-watched my Flex and Grails presentation at the London Groovy Grails Exchange and felt that perhaps I didn’t quite answer some of the questions presented appropriately. I was pretty nervous and didn’t take enough time to really understand the questions. In this blog post, I will expand on some questions and hopefully provide better representation of Flex / Grails.

Read the rest of this entry »

Written by Tomas Lin

December 18, 2009 at 4:44 pm

Posted in Uncategorized

A semi-static content CMS for Grails with Adobe AIR / Flex

with 4 comments

In this post, I want to share my experience building a content management solution for a Grails application using Adobe AIR and XML bundles. This solution allows semi-static content to be kept externally. Main benefits are ease of deployment and desktop integration. Read the rest of this entry »

Written by Tomas Lin

November 14, 2009 at 10:10 am

Posted in Uncategorized

Automatic Background Removal With Pixel Bender

with 2 comments

How do you get rid of the product backgrounds?

This was a problem that has plagued me and the other user interface developers at Pixsta ever since I started working here. Our efforts to build nice homepages and cool Facebook / Twitter apps seems almost hampered every try by the limitation that our product images always had a white background.

I decided to spend a little time investigating how we could remove backgrounds on the client-side, and immediately thought of Pixel Bender. In this post, I share the results of my experimentation and show that Pixel Bender is a viable alternative to server-side image manipulation and calculation. It really highlights the power of Flash and Flex over other client technologies like JavaScript. Read the rest of this entry »

Written by Tomas Lin

November 13, 2009 at 11:40 pm

Posted in Uncategorized

I will be speaking at the Groovy / Grails Exchange in London

with one comment

It’s a little overdue, but I am excited to announce that I’ll be speaking at the Groovy / Grails Exchange in London on Dec 9 and 10.

The topic of my talk will be ‘Building Killer RIAs with Flex and Grails’, and you can read all about it on the Conference website. Building Killer RIAs with Flex and Grails.

It’s my first conference presentation, so please be gentle…

See you all there!

Written by Tomas Lin

September 15, 2009 at 3:18 pm

Posted in Uncategorized

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 , , , ,

Google App Engine as a Super Aggressive Cache Service for Grails Apps.

with 3 comments

I’ve been thinking a bit about how to use the Google App Engine in a Grails deployment infrastructure. In the following post, I want to sketch out how to use the Google App Engine as an aggressive cache mechanism for Grails applications to reduce the cost of Grails experiments. Read the rest of this entry »

Written by Tomas Lin

July 25, 2009 at 9:27 am

Posted in Uncategorized

9 Tips to Planning and Building Maintainable Grails UIs

with 12 comments

How can we build user interfaces using GSP that are manageable and easy to update? Many of the books on Grails focus on the technology available in Grails, but very few give rules and techniques to make GSPs manageable.

Grails templates and the out-of-the-box functionality is great. But once you start trying to integrate layouts and designs for real world websites, you’ll find that bad coding practices can quickly lead to a chaotic and unmaintainable mess of spaghetti code.

In this post, I want to share some tips, lessons and ideas I have learned from projects worked in the last year and a half of Grails UI development.

Read the rest of this entry »

Written by Tomas Lin

July 21, 2009 at 3:48 pm

Posted in Uncategorized

Grails Hosting Solutions? Here’s a list…

with 3 comments

Inspired by a recent post in the mailing list, I’ve decided to gather a list of web hosts that are Grails friendly or recommended by Developers…

Know any more? What do you use for your Grails hosting? ( List from Grails.org )

Discussions about this on the Grails Mailing List:http://www.nabble.com/Grails-Hosting%3A-Which-Company%2C-Which-Application-Server-td24860653.html

Written by Tomas Lin

July 14, 2009 at 12:14 pm

Posted in Uncategorized