Thanks for the input Charlie, howeve I don't know that I agree with
all the points you make.
1. Sure it is possible to do with a conventional approach using
jquery, but that's true of anything that is done with knockout.
2. I don't agree that the binding is the behavior. In my mind, the
behavior is supplied by the viewModel in the form of commands,
observables, and dependentObservables. The binding is simply the
mechanism that renders the viewModel and allows the ui to interact
with it.
3. As for the single responsibility principle, that is great for core
functionallity, but this binder endeavors to be an abstraction to
provide a nice set of commonly used functionallity in a highly
accessible package.
Anyway, here is the sandbox version I put together today to help with
some issues in the current project. It is intentionally minimally
styled to show the functionallity.
Please let me know what you think...Of course it's poorly documented,
and I can't say it will work for all situations, but it is a start ;-)
http://jsfiddle.net/lancewynn/TDQRd/