我一直在开发Cairngorm Framwork的应用程序,超过2年。 现在我必须使用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