문제

나는 2 년 이상 Flex에서 Cairngorm Framwork에서 응용 프로그램을 개발 해왔다. 이제는 메이트 프레임 워크를 사용하여 응용 프로그램을 개발해야합니다.나는 짝짓기 프레임 워크에 대해 어떤 생각이 없으며 어느 것이 다른 것보다 낫습니다.나는 또한 누군가가 프레임 워크에 대한 생각을 알고, 누군가 가이 영역에 빛을 던지면서 누군가가 아이디어를 던지면 어디에서 짝을 지어야하는지 알아야합니다.

도움이 되었습니까?

해결책

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