Getting Started with Backbone.js Views – Part III : Event Handlers Basics

Learn how to set up event handlers in your Backbone.js view In the previous two articles of this series: “Getting Started with Backbone.js Views” (Parts I & II), we learned how to set up a view and optimize it for better performance. The next logical step is event handlers. While it may be possible that […]

Getting Started with Backbone.js Views – Part II : Optimization Basics

Learn how to optimize your Backbone.js view for better performance In the first part of this series:  Getting Started with Backbone.js Views – Part I : Introduction, we learned the basics of how to implement a view in Backbone.js. Although the process of extending the Backbone.View class was quite similar to extending the Backbone.Route constructor, […]

Getting Started with Backbone.js Views – Part I : Introduction

Learn how to separate presentation from logic by leveraging Backbone.js views2 One of the main principles of MVC is the separation of presentation, data and logic. While it may be tempting to mix these concerns in order to “get it out the door”, maintaining and extending this kind of code can quickly become a nightmare. […]

Getting Started with Backbone.js Models – Introduction

Learn how Backbone.js Models provide abstraction that simplifies data management in your single page application In my previous articles about Backbone.js, I covered the basics of routes and views. I chose those areas as starting points because they are a bit easier to digest and put to use. For example, you can put together simple pages that […]