Synchronous DOM with pseudo backend data?
<p>I have a pseudo-javascript backend for my webapp, and I am storing some data in an array, lets call it Dataset[]. 
Dataset[]'s data is directly reflected on a table in DOM. What is the best design pattern to keep the two synchronous? e.g. When data are added to Dataset[], it will show up in my dom?</p>

<p>Events? Data Binding? anything else? </p>

<p>thanks :)</p>
