What is Backbone.js? is a free tutorial by Mosh Hamedani from Backbone.js course
Link to this course(Special Discount):
[ Ссылка ]
This is the best Backbone.js Course
Course summary:
Write clean, perfectly-structured, maintainable and testable Javascript code
Build rich client applications with Backbone.js
Build Single Page Applications with Backbone.js
Test Javascript code with Jasmine.js
Moduarlize Javascript code with Require.js
English [Auto]
So what is backbone and a simple definition. Backbone is a lightweight library for structure and Javascript code. Some people regard backbone as an embassy or envious start kind of framework. If you're not familiar with MEAC It's basically an architectural pattern for implementing user interfaces. It separates the application into three kinds of components. In model view controller and the name MVC the intention is to promote separation of concerns which results in a better structured and more maintainable application. It's not a new concept and has been around since seventies but it has gained more popularity over the past 10 years especially in the javascript space. Backbone does provide the concept of models and views but backbone views are more like controllers in the classical music. So that's why I said it's more of a MVS start kind of framework and to be more accurate it's not even a framework. It's just a library that you can use any way you want. Backburn also provides a concept called routers which is used for developing single page applications and single page application is a kind of web application that fits in a single web page aiming to provide a rich user experience similar to desktop applications in a single page application or a spa. All the necessary code such as HMO javascript and as is retrieved with a single page load and each time the user navigates around the Web site appropriate resources are dynamically loaded into the web page. This provides a very fast and smooth user experience. G-mail is a very good example of a single page application in DML. The page is loaded once and from that point any actions you do on the page. So just creating a new email reply into an email deleting emails and so on are done within that page. Now with backbone you can certainly create a single page application but you don't necessarily have to use backbone for that. You can use backbones models actions and views to create a perfectly structured and maintainable reclined application later in this course as I introduce you to various components of backbone. I will show you real world examples on Web sites such as Facebook Twitter Pinterest. I will show you how you can build something like that with backbone. In my experience backbone works perfectly when you want to build a rich client application over a sort of restful API. Ive seen many debates on the web people comparing backbone with other MVC frameworks such as knockout and angular and arguing which one is better in my opinion not is better than the others. Its like saying which one is better. A fork or a spoon neither. Each is designed for a different purpose. You can certainly eat everything with either a fork or a spoon but the one looks better than the other in certain situations and that's exactly the same with backbone. So I would suggest learn each of these popular frameworks and get to know their strengths and weaknesses and then you decide which one is a better fit for the kind of project you are working on.
What is Backbone.js? We cover what Backbone is and what you can do with it. We also touch on MVC and Single Page Applications architectural styles.
Ещё видео!