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

ImageThe 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>


 

Who's on PureMVC.org

We have 9 guests online

Supporters of PureMVC

Bloggers on PureMVC

PureMVC Blog-o-Sphere

PureMVC on Twitter

PureMVC on Twitter

PureMVC on Delicious

PureMVC on Delicious

PureMVC on Linked-in

PureMVC on LinkedIn

PureMVC Newsfeed

PureMVC on the Web

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

 
FlashDevelop has gained quite a bit of ground in the development community so naturally several folks have created templates to ease the burdon of creating implementation classes. We'll let you be the judge of which are the best.
 
FDT PureMVC Templates, Well Formed and Pimped - Aron Woost
PureMVC First Thoughts and FlashDevelop Templates - Dave Keen

FDT Templates for PureMVC/AS3 Available - Pedr Browne

 

Prudential wanted an intimate but exciting way of communicating with customers, so Downstream created a coffee table with a twist—the Interactive Coffee Table. Visitors can navigate floor plans, see and edit their agenda for the visit, and browse images and info about Prudentials history in a technologically advanced multiuser environment. Downstream's programmers used ActionScript 3 on the Adobe Air runtime, the PureMVC framework to keep the code well structured, and Papervision3D for various 3D effects in the application.

 

Prudential Interactive Coffee Table

Downstream Design

 

 

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

Version 2.0 of the PureMVC JavaScript port is now available. It is a complete rewrite based on Mootools core for class simulation.

 

Visit the PureMVC JS Port

 

The PureMVC AS3 / Flex EmployeeAdmin Demo has been refactored to use the standard demo look and feel, and to reflect the very latest best practices. If you are the author of a port of this demo, please read the version.txt file.

 

Run the EmployeeAdmin Demo

Visit the Project

View the source.

 

The PureMVC Java MulitCore GWT EmployeeAdmin Demo has been updated, now using Google Web Toolkit 2.0.

 

View the Demo

GWT EmployeeAdmin Project

 

The AS3 Undo Utility adds the ability to undo/redo actions in your PureMVC based Flex, Flash or AIR applications. The latest version is ready for download, and be sure to check out the demo to see how to implement.

 

AS3 Undo Utility

Flex HistoryPanel Demo

 

The 3.0 release of PureMVC C# Standard now ships with complete API docs and supports .NET 3.5 & Silverlight 2.0 UPDATE: Get your mobile on! VS2008 Solutions added for PocketPC, Smartphone, and Windows CE!

 

PureMVC Standard for C#

PureMVC Silverlight Login Demo

 
Copyright © 2006-2008 Futurescale, Inc.