This is a test post

This post is just to check and see if my new comparison store engine works. Computer links like this one allow you to find cables and harddrives without difficulty.

Posted December 15, 2008 by Kristan Uccello under Uncategorized

Leveraging Grails Plugins as Plugins

In my latest grails project I realized that I needed two different web applications to work togeather with a common set of domain classes. Snorting around the user groups and forums I came across a sugestion to make a grails plugin project for my common objects and simply install that plugin into my other applications. This is a very similar approach I used to Read the rest of this entry.

Tags: , ,
Posted September 28, 2008 by Kristan Uccello under design pattern, grails, groovy

Groovy for data migration

Recently I had to write a script to migrate data from one database to another only if the data was different then what was on the target database. So we have database MASTER and database LIVE, where MASTER has the latest data and LIVE needs to be updated with MASTER’s data only if LIVE does not already know about a particular record. Now there are other solutions to this that involve master/slave setups etc. but in this case it was not an option (long story that really is not relivant to this post) so we were forced to write a script to do the work for us. Read the rest of this entry.

Tags: , , ,
Posted September 5, 2008 by Kristan Uccello under database, groovy, server, utility

Simple Grails Login Code

I have played arround with all the security plugins for grails. Acegi is definitly robust and a good choice for some but not others due to its complexity (which is not all that much but it can be a little bit of a mental hinderance if you are approaching the model from a differnt thought process). I have many little sites thats do not need such levels of abstraction in the login mechanism and so I read the simple login tutorial and checked out the other plugins like JSecurity. While all are good at providing methods of security arround your application I found it unnessisarly complex for those simple apps where you do not need roles or email verification. I have put togeather a simple login plugin (get the source) and it is by no means a robust login system. I built it as a starting point for those sites that just need a quick login mechanism and it is intended to be modified to meet the needs of the app being worked on. Its kind of like a template but not quite. Comments and feedback welcome.

Tags: , , ,
Posted August 30, 2008 by Kristan Uccello under grails, groovy, security

Using gEdit for Grails Development

I am one of those people who likes IDE’s, even in the hayday of my time (the early 90’s) I was a fan of such IDE’s as what Borland had to offer and was an avid user of the QBasic editor for all my development tasks. This was in a time where you had to pay for your ide (strange notion today). Here we are today with the likes of Eclipse, Net Beans and Textmate (yes you have to buy it but its cheap) and I find myself questioning the use of such beasts of burden in the web world. Read the rest of this entry.

Tags: , , ,
Posted August 29, 2008 by Kristan Uccello under grails, groovy, workspace

Modify your grails app web.xml

I have been playing arround with grails for the last few weeks going through the “Beginning Groovy and Grails” book from Apress and have started on some “real” applications. Some of my exisiting java apps are ideally suited to be ported over to grails (trimming a lot of the code fat) but Read the rest of this entry.

Tags: ,
Posted August 15, 2008 by Kristan Uccello under configuration, grails, groovy