Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-thinking Knockout: bindings, observables, and reactive programming #20

Open
mbest opened this issue May 25, 2012 · 0 comments
Open

Comments

@mbest
Copy link
Owner

mbest commented May 25, 2012

I've been reading lately about reactive programming and think that Knockout, through computed observables, provides many of the features of reactive programming. One area, though, that is at odds with reactive programming is the binding system, mainly that bindings don't often properly capture all their dependencies.

One approach is to create a new level between the DOM and Knockout bindings that allows access to the DOM through observables. This is similar to the current binding system, but isn't specifically about binding to a view model, only accessing and updating the UI through the observable system. Bindings (in their traditional sense) would simply link view model properties to UI observables. More complex bindings, such as value, might access and watch multiple UI observables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant