Posts Tagged ‘templates’
Dynamic Flex Scaffolding for Grails via REST Services : Part 1: Getting the model out to Flex via REST services.
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 »
Grails and BluePrintCSS
In this post, I try out the BluePrint CSS framework and try to see its advantages for making skinning a Grails based project faster and easier.
We recently launched a project which heavily used Ajax and Grails. One of the biggest challenges we saw in this project was the lack of standards when it came to skinning the site via CSS. I was surprised at the amount of hack-and-slash coding that I saw from people who did CSS for a living.
Halfway through the project, I ran into this article on Digg, and saw that Ryan Feeley had posted on his twitter that he had redone his site on the BluePrint CSS framework. I had heard of CSS frameworks before, but it seemed that it was only recently that they have come into vogue. Can they be the solution to our Grails skinning woes?
Editing Resources in Maven with GMaven and Groovy Templates
In this post, I will show how to build a simple yet robust resource modification engine for Maven using GMaven and Groovy Templates.
We sometimes need to generate files in our build cycle that are specific to each server and change per deployment cycle. For some projects, this might be Flash / Flex actionscript files that need to reference the build server. For others, it might be datasource locations that change per build project. While maven provides a built-in resource filtering mechanism, it is tied to parts of the maven lifecycle that might not work well for all projects, and mostly changes resources for War files.
Groovy provides a very robust Templating engine. With the introduction of the GMaven plugin, it becomes possible to filter and re-write resource files using this robust mechanism. Combined with the power of Maven’s built-in profiles mechanism, this solution provides a robust and powerful way to edit Flex / Grails and other resources. Read the rest of this entry »
