Note to self & actionscript & flex 10 Oct 2008 12:46 pm
Excellent Sample of Mate Document-Based Applications
I found an example of a Document-based Mate application out on Google code, referenced here and here on the Mate web site.
It’s pretty nice, with good examples of the LocalEventMap, etc. He’s built it using the Presentation Model design pattern which seems to be a natural fit to both Flex and Mate.
Paul Williams of Adobe has a series of articles on various design patterns including Presentation Model.
And of course Martin Fowler has some thoughts on the Presentation Model, aka Application Model pattern.
It could be a nice starting point for developing multiple document applications. And the Presentation Model pattern looks like it would provide some nice benefits, keeping the views nice and simple and making them a lot easier to test.
This project also has excellent documentation and about the only info I can find on LocalEventMaps.
actionscript flex Mate Note to self