Nimbus – MVC Framework Intro

04.25.2009

UPDATE: Since the writing of this post, I’ve converted to and fully endorse Robotlegs as my MVC framework of choice. I invite you to check it out.


For those who don’t know, Nimbus is a Flex MVC framework (or micro-architecture for the technically-inclined). Sponsored by Rain, we develop it primarily for use on our applications but make it available for public use and encourage the community to contribute.

Nimbus pulls core concepts from Cairngorm but is meant to cut out a lot of the plumbing developers groan about when they hear “Cairngorm.” It’s light, but it’s not fluffy. Baked in are those rare and tasty flavor morsels you thought only existed in those Funfetti cupcakes your grandmother bakes with love on your birthday.

Until the end of 2008, Nimbus had been shaped, re-shaped, patched, and plugged. A complete re-write was merited so that’s what we did. And really, what makes for a better Christmas than sitting down with your stocking stuffed with jelly beans and re-writing an MVC framework. A few months later, the code is settling down along with the sugar and we’re ready for action.

Here are some features of Nimbus:

  • Notification system of command completion so portions of the application can know when a command has finished executing.
  • Nestable “macro” commands. Think “I want commands A and B to run in parallel, then C, then D and E in parallel, but inside D I want F and G to run sequentially…”
  • Undo/Redo functionality.
  • Progress feedback system. You as a developer can associate a processing message with each command or macro command to provide feedback to users.
  • Interaction blocking system. While commands are executing, easily disable user interaction to protect your service calls.
  • Combinable commands. Ensure that similar command instances can be grouped appropriately in the undo/redo history.

Nimbus may not be right for everyone. Call your system administrator if your scalability problem worsens or is not better within 7 to 10 days. This may mean that there is another condition causing your RTE problems. Do not take Nimbus with alcohol. Call your system administrator right away if after taking Nimbus you are unable to walk, drive, eat, or engage in other activities. In rare cases, severe allergic reactions can occur. Most MVC frameworks carry some risk of dependency. Do not use MVC frameworks for extended periods without first talking to your system administrator. You are encouraged to report negative side effects of Nimbus. Visit http://code.google.com/p/nimbus-as3 for more information.

Tags: , , , , , , , , ,


Comments

04.28.2009 / casey jackman said:

*yoink* (thats the sound of stealing). as in, me stealing your code for my projects. so you’ve decided to enter of the wicked market of flex frameworks- a free product for impossible to please customers. i’ve gotten pretty comfortable in the “just complain all the time and never do anything about it” camp (we have smores there, its nice), but this is inspiring. fortunately, with Cairngorm and his view helper buddies on the other side of the ring, the competition isn’t too steep. i’m excited to check out the macro commands and redo functionality. we’ll see if you “made it rain” or not :)

05.14.2009 / Aaron Hardy said:

Hey Casey, thanks for the response. I’ve tried the smores…they’re tasty. Let me know if/where you get stumped–maybe it will guide my future blog posts. Now stop avoiding us and come work at Rain. No, seriously.


Leave a Comment

Your email address is required but will not be published.




Comment