Groovy Dynamic Objects
I have been having tons O fun getting into Groovy, the dynamic language for the Java Platform, AND the engine behind my favorite FileMaker Plugin, Scriptmaster from 360works. Groovy's dynamic nature opens up some very interesting possibilities for ScriptMaster and by extension, FileMaker.
Using groovy you can declare complex dynamic objects, made up of not only data but functions as well. You can store those objects in a globally accessible location, and retrieve them later. They keep all their values and behaviors until you explicitly destroy them or re-start FileMaker.
Think double dollar sign globals, custom functions, and scripts all mixed up into one crazy cocktail... Well, ok maybe not so much, but it paints a nice picture.
I am still fairly early in my experiments, but I thought I would share some of what I have done so far. If you haven't used ScriptMaster yet, this may not make a lot of sense as I spend much of the time using the ScirptMaster Demo file. But hey, its only like 9 minutes long. So what the heck watch it anyway!
Warning the following video is very, very, geeky.