First of all excuse my low programming skills and for asking things you may find obvious. I'm learning by my own, without more help than online books and sites like this.
I'm reading the well known 'Developing Backbone Applications' by A. Osmani, trying to understand and to not letting things out.
I have doubts on the following lines:
(This is part of the views introduction, http://addyosmani.github.io/backbone-fundamentals/#application-view)
initialize: function() { this.allCheckbox = this.$('#toggle-all')[0]; this.$input = this.$('#new-todo'); this.$footer = this.$('#footer'); this.$main = this.$('#main'); What are "this.allCheckbox", "$input", "$footer" and "$main" ?... Is he selecting already existing elements? Defining them? Why 'allCheckbox' doesn't start with '$' like the others?
Thanks for your help.