view source
Using mixins to create classes in Backbone
Inheritance is a concept that most software engineers are familiar with: Given a class or object, another object can “inherit” the properties of that class or object and extend them somehow. While this is usually associated with Object-Oriented Programming it’s also a feature of JavaScript’s prototype system.
Advertisement