A summary of Javascript framework and Class library learning

Source: Internet
Author: User

1, Backbonejs: The JavaScript code to do MVC management, so as not to produce glue (glue) code, is on the basis of underscore to expand. Learning methods: Do an example to deepen your study.

Need to understand Model,collection,views's respective responsibilities, collection is primarily the properties of the model's collection.

2. Requirejs: Make asynchronous call to JavaScript code, the code of call should be written according to Requirejs rules. Learning method: Do an example to verify the Require process.

When you call multiple JS, you can use the tool to set all the JS code in a

The main function of Require.config is to set the address of the called module. You do not need to set the name when define.

Define (Name,deps,function (e) {})

Define (function (e) {})

3, underscore: mainly some of the more powerful functions, using less code to write applications. such as _.each.

A summary of Javascript framework and Class library learning

Related Article

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.