Mate is a tabbed Flex framework created by Asfusion in June 2008. Since Infoq reported on the flex Community's response to its release, mate has received the attention of flex developers. At present, many people want to know how to adapt to flex RIA development compared with other existing frameworks such as Cairngorm and Puremvc,mate.
Techper Java Developer per Olesen posted a blog post about mate's pros and cons.
According to Olesen, the advantages of mate are:
Mate is a flex framework, which means that it does not hide or extract access to flex APIs. Its communication mechanism is based on the usual flex events and is largely accomplished by Flex APIs. It's the same place as Cairngorm, but it's a lot different from PureMVC.
Mate uses Dependency injection (DI), which is one of my favorite programming patterns, which I often apply to Java development. By using the Mate,mxml view definition, it becomes very simple and clean, and contains only the view code. It's the same place as PureMVC, but it's not the same as Cairngorm.
Generally speaking, Olesen likes mate and approves of its inheritance to flex. But some of the things that mate Olesen don't like, he said: "Backstage some things are too magical." Mate has a thing called EventMap, which is used for packaging applications. EventMap are all implemented through XML. XML programming will soon put you in a difficult position. I hate it! ”
Olesen also found that there was a need to improve the code in mate.
John Blanco of Rapture, a company based in Venice, has disagreed with Olesen over "too many magic" issues. He said:
Mate is a framework, so it is not realistic that we cannot master it in a short span of 5 minutes.
Also, if you don't like to write XML, you don't have to use Httpserviceinvoker. This is determined by your project. You can only use MethodInvoker, and can easily simulate Cairngorm command and PureMVC command and mediator.
But Olesen responded to:
EventMap is a very important concept and component of mate. Much of the framework's content is centered on EventMap. That's what everyone thinks. This is the intention of the framework. If you are going to use mate, you should understand the concept of eventmap. It is an important part of mate that should help you. That's possible, I doubt it.
See English Original: Flex Framework Mate, The Good and bad (Http://www.infoq.com/news/2008/09/flex-mate-good-bad)