Inheritance, composition and Backbone.js
Why objects composition is preferable to inheritance in JavaScript? Most of all, how do you apply this technique with Backbone.js?
ReadWhy objects composition is preferable to inheritance in JavaScript? Most of all, how do you apply this technique with Backbone.js?
ReadWith JavaScript you get a more object-oriented, less procedural and error-prone alternative to the good 'ol switch … case.
Read