On the Backbone of "Backbone"

Source: Internet
Author: User

  Objective

Before that, we studied a section of react, but had to admit that the MVVM framework of react, Vue, and so on, was radically different from the original jquery. The difference between them is not only reflected in the framework of the different thinking, but ES5 to ES6 programming language upgrade, as well as the overall construction system of the difference. jquery only represents JS as a supported language for HTML to provide a better experience, and to react era, JS has been his new, HTML even replaced by JSX, become a small part of it. But the difference between them is too big, react system too abstract, in the premise of alone study, study react curve is too steep, had to learn backbone.

  Backbone

In fact, although the Bacnbone is no longer popular, but for the first step out of the jquery phase of the front-end, is still a very worthwhile learning framework.

1. It's light and small, easy to learn and can help us get started with the MVC framework faster.

2. It refines the model and separates the data from the view, allowing us to focus more on editing the logic code.

3. It encapsulates the model and view to better integrate the front-end code and make the front-end code more systematic.

As for its shortcomings, there are also many:

1. Too flexible, also brought a lot of inconvenience.

2. The model and view bindings are not further implemented. There is no two-way binding that implements the data, that is, the rendering of the view when the model is updated, and the operation of the view causing the update of the model. This requires that we manually implement data binding in view.

  

On the Backbone of "Backbone"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.