Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Backbone lacks support for two-way data binding

Actually Backbone is painful because of the two way data binding. You do have to write way more boiler plate, but forms and actions in views will update your models and so will content coming in from the server and your event listeners have to be able to ensure that your events don't runaway from you causing all kinds of problems. Like view action -> updates model -> listener sends something to websocket -> websocket sends a response event -> updates model -> listener sends something to websocket -> an error or infinite recursion.



Rivets.js can be added to backbone fairly easily to support 2 way binding.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: