I had when I first got access to Wave, I wrote a blog about how to create a Wave Robot using Grails. This blog can be read at Graversen.org.
Now David Trattnig has created a plugin to Grails for developing Wave applications. I had to try it out and see how it works.
The first project I tried the plugin on was a failure. I got some error, which I did not think the Wave plugin had created. Just me fumbling around. So I created a new project to see if it was better. The result was much better on the second try. I got a functional robot working without much code.
When you run the commands.
grails create-wave-robot
You get all the objects you need to create a robot, which is bacisly just one file as a service. You can then start coding in this file. The plugin automaticly handles the creation of the URL mappings needed for the Robot to work.
In Wave you normaly have to create the capabilities.xml file as a seperate file outsite the code. This is irretating to be working with and you have to make sure to update the file. With this plugin all you need to do is to change the begining of the Robot file to something like.
With this information the cababilites xml file can be created.
The development of the plugin can be performed in the processEvents method. Like the following really meaning full code.
Using this frame work is really easy and takes care of some of the irritating features you always need to use when developing Robots. It does requires some knowledge of Grails/Groovy.
I have not tested the function for embedding waves, but it should also be fairly simple to do. You should just insert the Groovytag.
Related posts:
- Gadget and Robots interaction In some instances you want to have the robots...
- At-Buddy When I was just starting to learn Google Wave...
- Robots in .NET I’m not a .NET coder, but I’m always keen...
- Wordpress plugin to embed waves Yesterday I wrote about Wavr plugin to Wordpress. This...
- Wavr a Google Wave plugin to wordpress Yesterday I found the Wavr by Lucas Caro, a...
Related posts brought to you by Yet Another Related Posts Plugin.
1 comment so far ↓
It’s exciting to think that Grails may capture the functionality of Wave in the usual easy-to-access Groovy and Grails fashion. Sadly to say, I am still waiting for my account to be activated..
Leave a Comment