Via Gurufaction,
Cliff Hall has developed a AS3 MVC framework called PureMVC. Unlike Cairngorm the PureMVC frameworks targets any AS3 based application including Flex,Flash, and AIR. I recently convert the Cairngorm CafeTownsend demo to use the PureMVC framework. You can download the source and view the demo app over at http://puremvc.org .
Brgds,
CP
| Copy and Paste the code below | |
| Email and IM | |
| Websites | |
| Forums | |
follow:
November 4th, 2007 at 5:05 pm
I’ve looked at the PureMVC framework. Unfortunately, it falls completely flat due to a total lack of tutorials or explainations anywhere.
Even the ‘Getting Started’ section of the forums on PureMVC’s site has nothing about getting started. It does have something on using PureMVC in Flex, but that cannot even remotely pass as a tutorial. It simply repeats in English what is obvious by reading the code, but it actually doesn’t explain any further.
Flash CS3 tutorials are non-existent. I’ve spent a day searching the internet and have come up blank, which leads me to believe that no one is using this framework. It may be the most brilliant framework ever, but being unexplained makes it as useful as vapourware.
Even the demo page on the site, as of writing this, has no links to the demo’s. There’s the description of the demo but no links whatsoever. You have to do a google search to find them on a page that hasn’t apparently been linked to.
I learned Cairngorm recently but wanted to make sure that there was nothing better out there. With Cairngorm, I was up and running withing a few hours of starting from a position of knowing absolutely nothing. It is well documented and there are excellent tutorials and descriptions out there.
To the writer of PureMVC, I am still grateful because: it is free; people obviously like it; and you took the trouble to write it. It may be brilliant, but without some explaination, it may as well not exist. Other people on the PureMVC forums agree.
December 8th, 2007 at 8:49 pm
Hi Jules. I’m learning PureMVC right now and have found one solid code example so far at http://www.websector.de/blog/2007/07/10/wspatternstylegenerator-for-using-wsbackgroundpixelskin/
What I like about PMVC:
MacroCommands and SimpleCommands. Cairngorm has ChainCommand, but it’s harder to implement.
Mediators and Proxies. I’m guilty of subscribing view components to CairngormEvents and dispatching these events all over the application. This can make it hard to scale past a certain point. PMVC Mediators and Proxies handle things better and make things more scalable.
What I don’t like:
Lack of a basic “hello world” application. As soon as I figure things out, I’m going to post one myself in the getting started forum.
That’s all! Everything else is perfectly suited to the serious architect who wants to explore the option of a framework that caters to both flex and flash devs.
February 3rd, 2008 at 7:45 pm
to Jules – the demos of the pureMVC site are there and the links do work, but i did the same as you and could’nt see them at first. The links to view the demo, and get the source code are in the top left hand side menu of each demo page.
April 16th, 2008 at 9:42 am
Jules, spot on. I read a few blog posts by fanboys of this framework, but when I went to research it myself, I ran into the same complete and utter lack of any substantive documentation of examples. If it’s so good, why can’t anyone an example?
July 20th, 2008 at 1:04 pm
Hey all,
PureMVC is definitely lacking tutorials, so I’ve done my bit to help out by writing one
Check it out at http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-introduction/
Enjoy,
Dave
http://www.actionscriptdeveloper.co.uk
July 16th, 2009 at 9:20 am
Hi,
I also noticed the lack of a “hello world” example and I created one on at http://cornelcreanga.com/2009/03/hello-world-puremvc-demo/
Cornel.