Filed Under (AIR, ActionScript, Flex, Software Development) by jonr on November-22-2008

I have been hearing really good things about Mate for a few months now.  I have been rebelling against dragging additional frameworks into Flex just for MVC for a while now (Flex and MVC Cairngorm).  I finally got a chance to spend some time coding with Mate on a flight back from San Fransico this weekend.  I think it looks promising.  I am still not sure the leverage is enormous, but the cost seems low.  It appears to provide a reasonable structure for Separation of Concerns and managing events, without requiring much additional code.  Hopefully, I will have some more time to do something more complex soon with it, but I think it may be the type of framework I have been wanting.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DZone
  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • LinkedIn

Comments:
Stu Stern on November 23rd, 2008 at 5:11 pm #

As I understand it, Mate provides a central place to register event listeners so that you don’t have to be concerned with exactly which components are emitting what events. Conceptually, you can just listen across the entire app for events.

What I’m wondering is, doesn’t the Application object itself provide such a central hub since all events bubble there?

This is just a thought. I have not dug in.

jonr on November 23rd, 2008 at 6:14 pm #

Mate provides a nice configuration and the plumbing for handling those events. If you want to separate them, you will need something to do this for you. Why not Mate? Another interesting part is the Injectors, which would seem to allow for actually hiding most plumbing to get data to the UI components.

Post a comment
Name: 
Email: 
URL: 
Comments: