Вопрос

Я разрабатываю приложения в Cairngorm Framwork в Flex более 2 лет. Теперь я должен разработать приложения, используя MATE Framework.Я понятия не имею о структуре Mate, и какой из них лучше другой.Мне также нужно знать, где начать изучать структуру Mate, если кто-то имеет представление о обоих рамках, любезно бросить свет на эту область.

Это было полезно?

Решение

Likely if you've been working with one of the older versions of Cairngorm, you're going to have a hard time getting out of the mindset of reaching out and touching the Framework from everywhere that's induced by its Singleton based architecture. What you'll want to retain from what you've learned is your respect for event based communication. Probably not much else will be useful to you if you've been using the old Cairngorm. If you've been using CairnGorm 3, you will likely find yourself right at home, because Mate and Parsley are very conceptually similar, and Mate developers tend to perfer the Presentation Model pattern.

Here's a great video that will help you understand Mate at a conceptual level http://tv.adobe.com/watch/360flex-conference/mate-flex-framework-by-laura-arguello/ .

Here are some articles of mine that you might frind useful as well http://www.developria.com/2010/05/mate-for-framework-beginners.html http://www.developria.com/2010/05/refactoring-with-mate.html

Unfortunately the source code is not available at this time, as my subdomain that hosted them is down.

Другие советы

Quick answer, don't use either. They're both view based frameworks which are more of a hassle than anything. Use Parsley or RobotLegs. Parsley is more robust, but "heavier" with a steeper learning curve. RobotLegs is smaller and simpler, but less flexible.

Cairngorm 3 is dependent on the Parsley extension framework.

I prefer Parsley because I seldom come to a Flex project that isn't large and needs a good way to be able to manage it. It's the most use Flex framework in the financial industry. There's a vibrant developer community and the lead developer is awesome. It's also open source.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top