Friday, November 18th, 2005

MochiKit 1.1 Released, including Screencast

Category: JavaScript, Library, Screencast, Toolkit

MochiKit, a lightweight JavaScript library, has a new 1.1 release.

As well as the typical myriad of bug fixes, the new features are:

  • MochiKit.DOM.currentWindow and currentDocument allow you to change the global window and/or document object used by all MochiKit.DOM functions, which allows you to use mock DOM objects (great for testing), deal in a separate window, frame, or XML document’s objects, etc.
  • MochiKit.Async.Deferred.prototype.addCallback, addErrback, and addBoth now accept additional arguments, which will create a partial function.
  • MochiKit.Async.doSimpleXMLHttpRequest will now use additional arguments to build a query string, via MochiKit.Base.queryString and/or MochiKit.DOM.formContents depending on the arguments given.
  • There’s a new MochiKit.Async.DeferredLock object to use for synchronizing Deferred instances.

Screencast

To help you grok how to work with this framework, this version has a screencast.

This screencast is an introduction to MochiKit 1.1, using the interactive interpreter example as a conduit for showing off concepts from each MochiKit module.

Posted by Dion Almaer at 12:18 pm
Comment here

+++--
3.8 rating from 9 votes

Comments Here »

Comments feed

Leave a comment

You must be logged in to post a comment.