|
UPDATE: Frederic Saunier has released a ported version of the Employee Admin demo for the new MooTools port. Check it out!
The previous version of the PureMVC JavaScript port has been around for over a year now, but based on traffic to the site and around the Internet, it didn't capture that much interest. While it was a valid port of the framework with a working demo, it suffered from a lack of online reference documentation. And it was based on the Objs framework for simulating class relationships, and the syntax of that framework made the implementation code that developers must write too cumbersome. That's not really a reflection on Objs, per se, it is merely what is required in JavaScript to attempt simulation of classes and interfaces. IMHO, developers who really want interfaces will use a language that incorporates them. JavaScript developers are likely to see this as extra hoops they have to jump through to get things done. If you use the old port, don't worry, it is still available on a branch in the repository (see the Release Notes page).
The
PureMVC JavaScript port has been completely rewritten by Justin Wilaby
and is now based upon the MooTools core for simulation of classes. MooTools has a huge community and is very unobtrusive on your implementation code. When deciding whether to simply offer another
JavaScript port or to actually deprecate the old port and replace it
with this port, it came down to thoroughness of documentation, implementation and
potential community; the new port has all of these from the start. There simply was no reason to confuse new developers with two choices based on separate implementations of the same reference. The new MooTools-based port is fully documented for every class and method, and the implementation code the developer ends up dealing with on a day to day basis is much cleaner. In fact, the accolades are already appearing in the forums:
Justin, Much kudos to you!! I've just finished browsing the demo and source. I can only say WOW! Beautifully done!!
You
have brought much hope to JS as I've never thought of it ever being so
well organized. The greatest thing is that as an AS3/PureMVC gearhead,
I don't have to relearn some new fangled MVC architecture to keep up
with the Jones'. There is life after AS3. 
You should be proud of yourself. -jamesfin Download the new Javascript port and check it out today! BTW, the demo is quite cool.
-=Cliff>
|