logo
Currently Browsing: Groovy
Apr
9

Retrofitting JSecurity to your existing tables

I’m marching through a pretty large groovyblogs refactor, with the goal of tidying up the codebase considerably. I’ve made a move to the JSecurity plugin so I can add a “remember me” feature, which paves the way for more a more sophisticated “preferences” subsystem down the track. The only problem was that I already has an Account table which contained passwords...
Apr
2

Adding iPhone support to groovyblogs

Since being given an ipod touch, I’ve been keen to explore the issues with designing for iphone web apps. With Grails In Action in final copy edits, I’ve finally got some free time to invest in a big refactor of groovyblogs. I’ve already reworked the security system to use JSecurity, moved all the custom search logic over to Searchable, and fixed the dread “numerous repost”...
Mar
10

Grails In Action, Free Sample Chapter, Grails Podcast BOF at JavaOne… Phew!

It’s been a hundred years since I last blogged, but I’m now officially “back on the horse” for blogging in ’09. The reason is that Grails In Action has gone into copy and technical edits, so I have most of my life back! If you’re keen to get a feel for what Grails can do, go grab the sample chapter to learn Grails in a hurry! We’re on track to have the final one...
Dec
6

A Cute TinyUrl Codec

I’ve been hard at work finishing the Controller chapter for San Gria and wanted to come up with fun and practical encoders example. Our main example app for hubbub is a twitter clone, and as I was working on the UI, and I was thinking “I wonder if we could add a TinyUrl facility? Actually, how about a TinyUrlCodec? Could probably do it in a one-liner, right?” class TinyUrlCodec { ...
Nov
15

Pausing and Resuming Quartz Jobs Programmatically

I’m working on the chapter on Messaging and Scheduling for San Gria (Chapter 14), and I’ve finally had a chance to explore some parts of the sensational Grails Quartz plugin that have been on my to-do list for ages. I’ve had a good explore of non-re-entrant jobs, passing state between jobs, programmatically dealing with jobs, and now I’m having a look at the db-persistent...

« Previous Entries Next Entries »

logo
Powered by WordPress | Designed by Elegant Themes