Tag Archives: view

Re-Learning Backbone.js – Nested Views

Previously in this series we have learned about views and collection. Now lets learn about creating nested views based on a collection. Most if not all of the concepts learned in the previous Re-Learning Backgone.js tutorials will be used in … Continue reading

Posted in Backbone.js, JavaScript, Uncategorized | Tagged , , , | 2 Comments

Re-Learning Backbone.js – View Events

It is common for Backbone.js views to include elements that the user can interact with. For example, the user can enter text in a text box, hover over a div, or click a button. These types of interaction can trigger … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , , | 2 Comments

Re-Learning Backbone.js – Binding Models to Views

In the previous post we learned about Model Binding in isolation. There are many places where model binding can provide benefit. Where we see model binding the most is in relation to using views. Usually we want the view to … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , , , | 4 Comments

Re-Learning Backbone.js – View Render

In this post we learn about different ways to render HTML using Backbone.js view and Underscore templates. A Backbone view should include a render function. The render function should have the responsibility of manipulating the view’s el property. The el … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , | 1 Comment

Re-Learning Backbone.js – View Basics

There is probably more confusion with Backbone.js Views than with other features of Backbone. In this post I’m going to describe some basic features of Backbone Views. Also, In this post we will not be rendering any HTML, but I … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged | 4 Comments

Understanding Backbone.js – Simple Example

I’m by no means an expert in Backbone.js.  I created this post because I had difficulty understanding backbone, and I hope that the information that I provide will help others grasp Backbone.js a little faster.  This post is directed to … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , , , | 29 Comments