Sunday, January 18, 2009

ANN: Griffon Splash Screen Plugin

I am pleased to announce the release of my first Griffon plugin, Splash. Splash is a Griffon splash screen plugin based upon Roy Ratcliff's Java Splash Screen paper


griffon install-plugin splash

The "initialize.groovy" script causes the splash screen to be displayed. The splash screen is disposed of by the "ready.groovy" script. Griffon executes teh initialize script then creates and initialize the controller, model, and view. Durring the initialization process, the splash screen status can be updated using the following technique.

SplashScreen.getInstance().showStatus("Initializing the Controller")

The plugin also provides the ability to provide your own image. this is accomplished in the
script using the following technique.

def splashScreen = SplashScreen.getInstance()

// Setting a splash image
URL url = this.class.getResource("mySplash.jpg")

Keep an eye on:

A special thanks to Andres Almiray for helping me and all of the Griffon Team.

Saturday, January 17, 2009

Testing new SyntaxHighlighting Plugin

This is a simple post to test syntax highlighting

public void printHello(){
System.out.println("Hello World");

Let's try some Groovy code now

class MyController {
// these will be injected by Griffon
def model
def view

void mvcGroupInit(Map args) {
// this method is called after model and view are injected

def action = { evt = null ->

I hope it works

Got it working, . . .

Keys to getting it working:

Borrowed Groovy Highlighting from:

Sunday, January 11, 2009

CodeMash 2009 - Griffon in Front Grails in Back

I uploaded the slides from my Griffon in Front Grails in Back session at CodeMash 2009.

For Those of you who attend the talk, I enhanced the counting application based upon your questions. The code in the counting example now includes @bindable.

gCollabTodo Code:

Friday, January 9, 2009

CodeMash 2009 - Groovy and Grails Precompile

Just uploaded the Slides and Code from the Precompile Presentation that Chris Judd and I did at CodeMash 2009 on Groovy and Grails.

The presentation went really well.