I can’t believe I am doing this, but I am releasing a little bit of code that I wrote a while back. I have shared this with several people and all have expressed happiness over having had it enter their life. So I give to you easyMVC 0.1.

A long time ago I started writing a series of articles on how to get started using Cairngorm. I wanted to stress that in order to start gaining the benefits of the framework you did not have to jump in with both feet. I was aiming to display that you could use most of the pieces of the framework independently. And in writing some code to demonstrate how this could work, I ended up writing a very simplified version of Cairngorm. It has a ModelLocator, and a ServiceLocator and some other stuff. But I realized I was just re-writing Cairngorm and I was not interested in that. Cairngorm is a great framework and brighter minds than mine spent lots time preparing it. So I put the code away and gave up on the articles because I had other things to do.

Then a few months ago I needed to through together a quick flex project. I didnt feel like investing the time into setting up Cairngorm because it was just a couple views with a little bit of logic. I started looking to the other frameworks but found that even though they require less setup code than CG they still required a lot of configuration. So I decided to resurect my little framework. It wasnt much of a framework yet (frankly it still isnt) but I worked on it and it did what I needed for my application.

I decided that I might like to use that again, so I refactored the code out of the project and set up a swc. Then a little while later I was talking with some friends and I ended up sharing some of the code (first mistake). I spent some time explaining why I thought my framework was different, things like not having to write any classes that are not explicitly required for your application. It being event driven, but you don’t have to declare any custom events to get started. Little things like drop in the code and start on your application with out having to configure anything in particular. These seemed to be things other developers were having problems with. So I gave them my code. And I am happy to report that, it seems to have made their lives happier too :)

EasyMVC is not intended to pull anyone away from Cairngorm. Its nowhere complete or comprehensive as Cairngorm. But it does seem to suffice for those smaller apps that don’t warrant all that setup.

You can download the code for the project here EasyMVC 0.1 and I have set up a project site over here EasyMVC Project Site.

Let me know if you have any thoughts or questions.

*****
Updated: Fixed the link to the project site. Thanks gang for the heads up.
*****