![]() Here we are using just the basic features of Backbone. In this example, we will create a simple application to load the list of countries using Backbone and Underscore js where a list of 10 countries will be listed and when we click prev/next we will navigate to the appropriate page. The following are required for Development Environment set up: ![]() Underscore js provides templates with utility functions. Backbone is javascript library that blends well with Jquery and Underscore. Here model handles all the business logic and just renders the data that need to be displayed in the view. When the Model(Data) changes it just triggers the View to publish new data. So it’s apparent that the client side programming needs a structured approach to avoid these situations.īackbone is a MVP(Model-View-Presenter) framework where the data represents Models. In rich client-side application with many js files, it will become a pain in the neck to identify where the click event is getting fired. For example if a developer has written a script something like this in one of the js file.Įvery time you click on a div this function will fire up. Easily the scripting gets messed up if there is no structure being followed while developing. In a rich client-side applications developers easily tend to bind the data to the DOM elements. ![]() This blog is intended for experienced programmers in client side application with JavaScript/JQuery functionality and its integration with backbone and underscore js, by creating a simple project. Level of expertise required to understand and implement: Experienced in JavaScript/Jquery Introduction to Backbone and Underscore js:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |