Mate Framework Animation
Several months back I saw an excellent animation used to explain how the Cairngorm Framework worked within the MVC pattern. UPDATE: The Cairngorm Framework animation has been taken down. :-( So you can't compare the animations.
I liked it so much I created my own animation for the Mate Framework.
Thanks for all the positive feedback. This post has generated a lot of traffic. If you can attend 360Flex on March 7, 2010, I'll be hosting a hands on Mate Workshop. You can read more about it here.
Thanks for sharing :)
Saurabh
Nice work!
I'll see if I can slow it down and make it a bit clearer.
Essentially, when the "response" is returned to your flex application you bind it to an .as class. For example you could create a class called UserManager.as and make the entire class bindable. Inside this UserManager.as file, you'd create getters and setters for any values you want to inject into your view. In the EventMap you could bind the UserManager class to your injector.
The end result is anytime the UserManager is updated, the values are injected into your view. This provides separation between your model and your view.
Like I said, I should update the animation. A picture is worth a 1000 words. ;-)
Thank you
Cheers
Sunil
Things are that little bit more clearer!
It helped me a lot to understand the logic behind mate!