nextwebgen.com

The Next Generation Web Now

JavaScriptMVC 2.0: Major Rewrite, Strong Test Suite Integration and Improved Documentation

Filed under: Uncategorized — Rey Bango at 2:00 pm on Tuesday, October 27, 2009

The JavaScriptMVC team has announced v2.0, a major update & rewrite to their MVC-based JavaScript framework. The release incorporates several big changes including a rewrite of the library to leverage jQuery’s functionality and style guidelines. For example, if you have a list of entries, you can organize the event handlers like:

JAVASCRIPT:

  1.  
  2. $.Controller.extend(“EntriesController”,{
  3.   “.entry click” : function($el, ev){}
  4.   “.handle draginit” : function($el, ev, drag){}
  5.   “.trash dropon” : function($el, ev, drop, drag){}
  6. }
  7.  

And then add ‘EntryController’ functionality like:

JAVASCRIPT:

  1. $(‘.entries_list’).entries_controller();

The new release of JSMVC offers deep integration with the Selenium web application testing system, Env.js and the projects own in-browser testing library. JavaScriptMVC has integrated all three approaches, enabling developers to write and debug tests in the browser, but automatically run the same tests in Selenium and Rhino/Env.js.

JMVC’s documentation application has also undergone a major enhancement. The interface, based off Remy Sharp’s jQuery API Browser, allows rapid search of any part of your documentation.

A video explaining the new enhancements can be found here.

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blogmarks
  • del.icio.us
  • De.lirio.us
  • digg
  • NewsVine
  • YahooMyWeb

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>