JavaScript
Article
By Ilya Bodrov-Krukowski

Video: Your First Backbone.js Model

By Ilya Bodrov-Krukowski
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

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.

--ADVERTISEMENT--

Happy learning!

Loading the player…

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?