Webware and Rich Internet Applications
23 Jun
I’ve just read this post about comparing Cairngorm and PureMVC frameworks ( from design GUI side). Author said: “So is PureMVC better then? This is a question, that cannot be answered by this post alone. The UI patterns is just one part of both frameworks, albeit an important one. One could argue, that you get more out-of-the-box with PureMVC, the mediators being a builtin concept of the framework. The mediators and the communication from and to mediators through notifications, have been nicely worked into the PureMVC framework.”. Yes but I already think that PureMVC is much much better than Cairngorm. Why ? I’m working with both, and Cairngorm is for me terrible mess. Everything’s broken in MVC pattern, its so complicated in use and in teach. What is more they probably never heard about DRY (Don’t Repeat Yourself), everything must be included thousand times, generally in my point of vision Cairngorm is crap ! PureMVC is relatively simple, DRY, easy to learn (good architecture 101 tutorial and best practicies document) and PureMVC is faster !
So generally i’m still wondering how people using Cairngorm can be productive. Last time i gave you here Silvafug presentation so I’m now using only PureMVC and if you will try it once you’ll never back to Cairngorm, have fun ![]()
6 May
PureMVC to framework zbudowany na wzorcu MVC (Model - Widok - Kontroler). Bazujący na wzorcach projektowych, darmowy, prosty, początkowo stworzy głównie dla języka Action Script 3 do użycia z technologiami Adobe Flex, Flash czy Adobe AIR obecnie zaadoptowany do większości platform programistycznych takich jak Ruby, C#, HAXE czy Python. Jeśli chodzi o użycie go z Adobe Flex stanowi znacznie lepsze moim zdaniem (patrz także prezentacja grupy flexowej SilvaFug Link do Prezentacji) rozwiązanie niż framework Cairngorm, który zdecydowanie ustępuje PureMVC pod względem architektury (DRY!), prostoty i szybkości tworzenia aplikacji. Dobrym przykład użycia (oprócz oficjalnego tutoriala Architecture101) znajduje się tutaj: PureMVC Przyklad