|
|
|
|
|
by paulca
5475 days ago
|
|
Yep, I've played around with tons of approaches to this problem : your solution is where I started. It's probably totally ok, but there was something about it that just didn't sit right with me. In eyeballs.js, for examples, I explored doing all of the binding via the html elements themselves, eg: <a href="#" data-bind="posts#new">New Post</a> which would map to a pre-defined posts controller new action. whenever.js is just another exploration along the same theme. Again, I'm not arguing that it's better or worse: just my motivations for making it. |
|