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: 283

Filed under:
|

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:

  1. Get Data From Service as JSON/XML
  2. Display/Bind on UI
  3. Capture User Input
  4. Recreate request from the UI controls/html
  5. Post Data To Service
  6. Get Response and Rebind

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html