Most useful techniques for two way data binding with js
Posted
by
Perpetualcoder
on Stack Overflow
See other posts from Stack Overflow
or by Perpetualcoder
Published on 2011-01-08T07:36:53Z
Indexed on
2011/01/08
7:53 UTC
Read the original article
Hit count: 289
JavaScript
|html
With abundance of web services and client side templating features of jQuery and likes, creating mashups or sites consuming a multitude of web services and posting data back to these services is becoming exceedingly popular. For a page of decent size with this kind of architecture, say a dashboard. What are the useful techniques of maintaining this client side state. In other words whats are some of the ways to do two way databinding? Sample scenario:
- Get Data From Service as JSON/XML
- Display/Bind on UI
- Capture User Input
- Recreate request from the UI controls/html
- Post Data To Service
- Get Response and Rebind
© Stack Overflow or respective owner