In this video I'll be discussing Backbone.js models, a vital component to work with data; define validation rules and default values. Think of models as of blueprints of your data.
I will show you how to create your first model by employing extending mechanism. That basically means copying properties from one object to another and further redefining them. Once you have that under wraps, I will demonstrate other various methods to work with models: getters and setters, binding events and more. After watching this video you will have a basic understanding of models and also see Backbone.js in action.
If you like this video then you may like my new course Getting Started with Backbone.js, available on SitePoint's Premium. This is a sample lesson from the course.
Happy learning!
Continue reading %Video: Your First Backbone.js Model%
by Ilya Bodrov-Krukowski via SitePoint
No comments:
Post a Comment