4
2006
Grails = Productivity++ (maybe even Productivity*=)
For my "teach yourself Grails" project I’m building a little SMS Website gateway which I’m calling CyaThen. The idea is to be able to logon, select a bunch of users from your addressbook, and send them an SMS (or schedule one for later).
Turns out that this is quite a good little tester for grails, since I’m needing to:
- Write a ton of simple forms for create/edit/delete messages, history, addressbook – all with database integration – and all with form validation
- Implement a signup process (email integration, SHA1)
- Generate XML for submission to the SMS provider gateway
- Integrate commons-http to submit the XML to the gateway website
- Customise the CSS with my own template
Here’s a grab of the latest workings:

I estimate that I’ve spent around 20 hours so far and I’m nearly done. The last bits centre around integrating the addressbook selections into creating a new message. (I’d also like to integrate some Ajax into the new message dialog ala Gmail addressbook selection).
So far, I’ve given Grails a pretty good workout. I’ve hit two bugs (and one in Groovy) – all of which were fixed in two days (where do these guys get the time??).
I just can’t believe how much stuff I can do so quickly in Grails. I’m really having a ball. The listserv support is awesome, the doco is growing every day, and I really feel like I’m getting stuff done.
I’ve developed service classes (and test cases), I injected them into controllers, I’ve written custom queries (In grails you can query straight of your domain class using dynamic methods created for each of your fields, so you do stuff Account.findByUserId and Account.FindByUserIdAndPassword – how funky is that!), I’ve used regexp validators with custom error messages, I’ve written dynamic taglibs. Geez, this thing is a productivity machine.
Worth a look if you haven’t already… (will post up CyaThen for people to play with in a week or so – so you can get a feel for what Grails can do in a hurry).
Huge Props to Graeme and the gang for an outstanding contribution!
Glen.
6 Comments + Add Comment
Leave a comment
Glen Smith
Archives
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003

An article by Glen





Amen brother
How about Math.pow( productivity, 10 ) ?
Maybe not, let’s not get ridiculous
( from the Mailing list )
the leaset interesting part but, is this a home made template in the screenshot?
I wish. This one is straight out of Style Master. Based on the css file it generates, it looks like the original author is Kemie Guaida.
Nice job on the app Glen,
Btw, could you list the other tools
(like Style Master) that you use
Almost on every application plz?
Great work picking unusual and unique project ideas. The world doesn’t need any more contact databases etc. I like how your apps work!
After having done a real-life project with grails I’d like to give an estimate for the factor: