Posts Tagged ‘Content Negotiation’
Nine Lessons from building a Grails / Flex / Flash website
I just finished putting the finishing touches on phase one of our video and animation heavy Flash / Grails / Flex site. We spent about 2 months on this site, figuring out how to get Flex, Flash and Grails to work together nicely, and I thought I would share some of the lessons learned in this post.
REST Service XML Output in Grails via Content Negotiation
The content negotiation feature in Grails is pretty cool. In a nutshell, it allows you to return different formats based on the request of your page.
A recent project I worked on used Grail’s ability to generate CRUD as GSP pages to provide a basic CMS service, and an Adobe Flex front-end that communicated with Grails via REST services. We needed a solution that will preserve the original GSP html output, as well as the ability to return the data as XML for the REST layer.
Read the rest of this entry »
