Overview
TBone is a JavaScript library that enables dataflow-oriented programming.
With TBone, you set up data dependencies between the DOM, the current page state, and data from remote servers. Instead of explicitly (and repetitively) binding to data sources by hand, you just write idempotent functions and TBone takes care of binding and re-executing everything in an efficient manner.
> T('name.first', 'Sally');
T('name.last', 'Smith');
T('name.full', function () {
return T('name.first') + ' ' + T('name.last');
});
...
> console.log(T('name'));
Object {full: "Sally Smith", first: "Sally", last: "Smith"}
TBone was written by Dan Tillberg in order to harness order out of the chaos of complex web applications at AppNeta and Threat Stack. Fork it on Github.