08/29/08
Introducing sLabFx alpha

Recently in my job at Blast Radius I have been exposed to abstracted control methods. In my interview Loyal asked me if I know what "inversion of control" was. I assumed it was the opposite of version control, and we had a laugh. It so happens that inversion of control is a very interesting concept that fits really well into my favorite javascript Mootools. With this new concept in mind, I decided I would finally write a new plugin for mootools. It’s been a while since I wrote anything that anyone cared to download or comment on, so I thought I’d give this concept a go and see how people respond to it.
The plugin is called sLabFx and here is the Demo.
Basically it’s a set of classes that when called, will reference a configuration file, preload and bind a set of motion effects and events, then fire them in which every timeline sequece you can event. The benefit to this plugin is that you can write highly animated effects without ever having to edit the actual code. You have a simple JSON configuration file that you structure to include all of your fx and chains, which essentially serves as sort of a timeline (like flash) for your application.
So with that said, I am interested to hear what developers think, could this be useful if it were packaged with a javascript timeline application which allows the JSON config to be generated dynamically? All the sudden, we have a flash like javascript app on our hands.
Please leave a comment with your thoughts!
I like it a lot – though I found the demo to be a bit.. lacking.. in the description on how the animations are controled.
Hey Tom,
Thanks for the feedback. Your right, it’s pretty basic right now. It definitely needs some explanations added. I just updated the example. You should take a look now. I’ll try to update the documentation in the next few revisions.
Cheers
Yes, I also want to see about this in detail.
I guess you guys are doing amazing things in Blastradius
Thanks Shinya! We appreciate it! It’s a great company to work for!
Hi
The effect itself is cool but I am not sure what is exciting about this “inversion of control”.
Is this a design pattern?
Hi Shinya, Yes it’s a design pattern. The best place to learn about it is here: http://en.wikipedia.org/wiki/Inversion_of_control. Thanks for your post!
Let me know abou this in detail. seems like a interesting concept.