本文介绍了flex 中的 Cairngorm 与 mate 框架比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 flex 的 cairngorm 框架中开发应用程序已经超过 2 年了.现在我必须使用 Mate 框架开发应用程序.我不知道 Mate 框架以及哪一个比另一个更好.我还需要知道从哪里开始学习 Mate 框架,如果有人对这两个框架都有想法,请指出这方面的问题.

I have been developing applications in cairngorm framwork in flex for over 2 years.Now I have to develop applications using Mate framework. I have no idea about Mate framework and which one is better than the other. I also need to know where to start to learn Mate framework, if somebody has idea about both the frameworks, kindly throw the light on this area.

推荐答案

很可能如果您一直在使用 Cairngorm 的旧版本之一,您将很难摆脱伸出援手的心态并从基于单例架构的各个地方接触到框架.你想要从你学到的东西中保留的是你对基于事件的交流的尊重.如果您一直在使用旧的 Cairngorm,可能对您没有什么用处.如果您一直在使用 CairnGorm 3,您可能会发现自己就像在家里一样,因为 Mate 和 Parsley 在概念上非常相似,而 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.

这是一个很棒的视频,可以帮助您从概念层面了解 Mate http://tv.adobe.com/watch/360flex-conference/mate-flex-framework-by-laura-arguello/.

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/ .

这里有一些我的文章,你可能也觉得有用http://www.developria.com/2010/05/mate-for-framework-beginners.htmlhttp://www.developria.com/2010/05/refactoring-with-mate.html

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.

这篇关于flex 中的 Cairngorm 与 mate 框架比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 17:47