Skip to main content

Posts

Showing posts from November, 2016

Backbone.js the Basics: How to create simple apps in JavaScript

Backbone is a JavaScript front-end framework that is used to solve down the purpose of modular programming in JavaScript. Whenever a programmer starts to build nice apps in JavaScript with some functionality the code starts to become more and more cumbersome with more and more functions working with one another and returning values from one function to other. Backbone provides a platform that makes the code of the application more standardized by using some build in methods and structures of writing code. I decided to work on this framework because one of the project on which I was working had it's code written in this platform and it was whole lot of code( somewhat around 45000 lines of code). After opening the main file, sometimes my editor starts to hang. Here is the code of that project: https://github.com/singh1114/converse.js Backbone doesn't works like many of the MVC( Models, Views, Controllers) frameworks like ruby on rails. The code of backbone consist of four