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