Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As You Know MVC structure can be included in javascript by using <a href="http://backbonejs.org/" rel="nofollow noreferrer">backbone.js</a> with <a href="http://underscorejs.org/" rel="nofollow noreferrer">underscore.js</a> and other similar libraries mainly focusing on each form field as property in an entity such that entities can be used different purposes MVC structure is maintained for easy manipulation in javascript These structure good for event binding,dom manipulation ,serialization,etc </p> <p>It depends on application's purpose for choosing which structure suitable whether its mvc or mvvm structure for javascript. MVVM structure can be included in the javascript through <a href="http://angularjs.org/" rel="nofollow noreferrer">angular.js</a> or <a href="http://knockoutjs.com/" rel="nofollow noreferrer">knockoutjs</a> or other libraries for dynamic binding to view component Javascript can be used<br> MVVM architecture will be usefull for maintaining form field binding without reloading or ajax There are a lot of application by maintaining the architecture in js and i have pointed out only a few .</p> <p>for eg : <a href="https://stackoverflow.com/questions/14554111/serialize-form-inputs-to-json-using-backbone-js">Serialize form inputs to JSON using Backbone.js</a></p> <p>In this example the form values are retrieved as model and then it can be manipulated and can add business logic and can be serialized or event binding and can do print or any thing </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload