gmac / backbone.epoxy

Declarative data binding and computed models for Backbone
http://epoxyjs.org
MIT License
614 stars 89 forks source link

Enhance bindingComputeds capability #9

Closed jpurcell001 closed 11 years ago

jpurcell001 commented 11 years ago

1) bindingComputeds can now be a function that resolves to a hash 2) bindingComputeds hash entries can now be constants (non-functions) - useful for view configuration properties that need to be reflected in DOM

gmac commented 11 years ago

There's been some significant progress made on computed view properties and on the role of filters. Computed view properties and filters are both two-way mechanisms (some two-way filters have been added). Also, the concept of "observables" has been stricken... there are now only native attributes and computed properties. View-specific data should be stored in a sanctioned viewModel property of the view.