Javascript data models in jQuery
<p>Recently I've been using ExtJs and its data stores to load data and bind them to a datagrid.</p>

<p>What I'm trying to work out is the best way of doing that using jQuery (+any plugin) and javascript.</p>

<p>I've got a series of plugins that used a known object to render themselves.  This is fine, although the definition of the objects is assumed.</p>

<p>But what I want to do is create say a Record object with some known properties and "bind" the values of the Record object to the plugins' input elements.</p>

<p>The Record object would need to have datachanged events etc. probably similar to something that's already available.  I would also need to to hold collections of sub Records with a different model definition.</p>

<p>Would the best way be to start from scratch and develop a pure JavaScript class that holds a set of model definitions and the "records" that are bound the input elements, or would this be better as jquery plugin (although there is no dom element specifically for the store, but could use document?) or is there something out there that already in use? (that's widely used)</p>
