topleft
topright
There's a New Sheriff in JavaScript Town
Monday, 15 February 2010

ImageUPDATE: 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).

 

Image

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

You should be proud of yourself. -jamesfin

 

Download the new Javascript port and check it out today!

 


BTW, the demo is quite cool.

Box Splash Demo

 

-=Cliff>


Delicious
Technorati
Reddit
Furl it!
NewsVine
YahooMyWeb
Stumble
blogmarks
Digg
co.mments
connotea
 

OReilly PureMVC Book

PureMVC Book

PureMVC on the Web

PureMVC Blog-o-Sphere
PureMVC on Google+
PureMVC on Facebook
PureMVC on Twitter
PureMVC on Delicious
PureMVC on LinkedIn

PureMVC on the Web

João Pescada has produced a nice PureMVC / AS3 demo - a searchable image gallery. 
 
Photo Search with PureMVC - Article  -  Code  -  Demo

 

 
Jonathan Campos has put together a nice introductory PureMVC article with an example built around the Netflix API.
 
Netflix API with PureMVC Article

 
The guys over at Pyjamas (a Python port of GWT) have made their compiler so efficient that it can take virtually any Python library and it will compile to Javascript. They loved the look of PureMVC Python, and decided to do a couple of demos that use it.
 

Pyjamas Project

• EmployeeAdmin Demo: Original / Pyjamas  

Pyjamas PureMVC Timesheet Demo

 
Chandima Cumaranatunge, co-author of the O'Rielly book AS3 Design Patterns, and long-time PureMVC community member recently created a simple Flash/AS3 MultiCore demonstration application accompanied by an informative article that's an excellent introduction to the benefits of working with MultiCore.
 
Who Moved the Cheese? - Demo / Source / Article

ActionScript 3 Design Patterns

 

Ahmed Nuaman has published a well conceived and received AS3/PureMVC tutorial at FlashTuts.com. It's a good place for the learner to get their feet wet, and goes into the difference between using PureMVC with Flex as opposed to Flash or pure AS3.

 

Understanding the PureMVC Open Source Framework

FlashTuts Website
Ahmed's Website

 

 

Recent Project Activity

The PureMVC MultiCore framework for  Native JavaScript is now available. It has no dependency on other frameworks and provides its own optional namespace and class simulation.

 

 

 

PureMVC Standard Version for Perl 1.0  has been released, complete with unit tests and online documentation.

 

PureMVC Standard Framework for Perl

 

Release 1.3 of the AIR DesktopCitizen Utility which allows applications to remember their window size, position and maximized/minimized state each time it is launched. It also provides a facility for requiring confirmation (or executing some shutdown process) before the application window closes.

 

AS3 / AIR Desktop Citizen Utility

CodePeek Demo

 

The classic PureMVC EmployeeAdmin Demo has been ported to yet another language! Although PHP is usually thought of as a server language, using PHP-GTK, Sasa Tarbuk recreates th a desktop app. 

 

 
Version 1.0.8 of the PureMVC Java MultiCore port is now available. It supports JavaFX and handles threading properly.

 

 
Copyright (c) 2006-2012 Futurescale, Inc.