topleft
topright

OReilly PureMVC Book

PureMVC Book

PureMVC TV

PureMVC TV

PureMVC on the Web

PureMVC Blog-o-Sphere
PureMVC on Google+
PureMVC on Facebook
PureMVC on Twitter
PureMVC on LinkedIn
PureMVC on Delicious
PureMVC Framework for JavaScript Available
Monday, 24 November 2008

Update: This port has been deprecated and replaced with a port based on MooTools.

See this post: http://puremvc.org/content/view/156/181/

 



 

Image Finally it has been done; PureMVC has been ported to JavaScript !

 

For quite a while, I personally thought it wasn't possible. Then, the Haxe port came out and we could see an AS3-like language being compiled to Flash or JavaScript. But the JavaScript itself was not very readable, since it was the output of the Haxe compiler.

 

For several months now, Frederic Saunier has been polishing and perfecting his JavaScript port, and today it is available for download from the repository.

 

Even the classic EmployeeAdmin Flex demo has been faithfully recreated in JavaScript.  All the framework actors, and their roles, responsibilities and collaborations are the same.

 

The primary challenge to overcome was the fact that JavaScript doesn't have real classes. This has been handled gracefully with Frederic's simple Objs utility, which the framework depends upon, and must be included in any PureMVC-based JavaScript app.

 

If you use either the Flex or Flash versions of PureMVC but still have to communicate with the JavaScript in the browser think how awesome it would be if you designed the JavaScript portion using the same principles as the AS3 portion...

 

Download the Javascript port and check it out today!

 


-=Cliff>


Delicious
Technorati
Reddit
Furl it!
NewsVine
YahooMyWeb
Stumble
blogmarks
Digg
co.mments
connotea
 
Copyright (c) 2006-2012 Futurescale, Inc.