What’s next

June 18, 2009

Simple REST server with Grails

Filed under: Architecture,Grails,Groovy — stigl @ 11:36 am
Tags: , , ,

I have recently worked on two small projects that need a simple data store for more intelligent clients. Choosing REST was a no-brainer after some discussion. Grails’ HTML CRUD interface is a great template to start off with, but it lacks dealing with XML/JSON.

January 19, 2009

Neo4J as a Grails backend

Filed under: Grails,Java — stigl @ 3:07 pm
Tags: , , , , , , ,

This post is a reply to @EmilEifrem‘s twition.

Neo4J could be a nice extension as a Grails’ persistence backend, similar to a DB, space or LDAP. The problem today is that GORM is tightly coupled to Hibernate. Looks like @GraemeRocher is in the works of extracting Hibernate as a plugin, from which one can use other persitence plugins. Absolutely looking forward to that. (Graeme, please document what defines the folders which contain domain classes, controllers and views, so they can be changed!).

@Nawroth recommended using Neo4J through a JCR layer, though theres no implementation for Grails or Neo4J. The motivation for this is to be able to use the nice features such as MyPersonNode.find(), trinity.save() … Recommend watching this clip 4 intro to Grails.

What can be done today is just using the Neo4J jar in Grails as it is. But the magic of  GORM that makes Grails so different, compared to regular Java won’t exist…

November 18, 2008

Grails impresses yet again with its plugins – Todays tidbit: SoundManager

Filed under: Grails — stigl @ 6:57 pm
Tags: , , ,

Grails and its plugins doesn’t cease to impress me. I tested out the Grails SoundManager plugin today, which is a thin gsp wrapper around a javascript library for playing mp3’s in a webpage. The documentation is short, has all you need to know, and Grails fixes the rest. Just what I need for creating my web-playable music “shop”.

Update – SoundManager will also play videos and streamed content 😀

Create a free website or blog at WordPress.com.