Vue.js Study Summary (i.)

Source: Internet
Author: User

1. What is vue.js:

    • Vue.js is a set of progressive frameworks for building user interfaces.
    • Vue's core library focuses only on the view layer
    • Vue.js's goal is to implement responsive data binding and combined view components through the simplest possible API

2. Single page application (SPA)

A single page application generally refers to a page is the application, of course, it can also be a sub-application.

3. Why can vue.js make Web-based front-end applications so easy to develop?

Because Vue.js has declarative, responsive data binding, and component development.

4. What is EC6 (ECMASCRIPT6)?

In November 1996, the creator of JavaScript, Netscape, decided to submit JavaScript to the International Organization for Standardization (ISO) ECMA in the hope that the language would become a global standard. The following year, ECMA released the first edition of Standard No. 262 (ECMA-262), which specifies the standard of the browser scripting language and calls this language ECMAScript, which is version 1.0. The standard was developed for JavaScript in the first place, but is not called JavaScript for two reasons. One is the trademark, Java is the trademark of Sun company, under the license agreement, only Netscape company can legally use the name of JavaScript, and JavaScript itself has been registered as a trademark of Netscape company. The second is to embody the language of the creator is the ECMA, not Netscape, so as to ensure the openness and neutrality of the language. Thus, the relationship between ECMAScript and JavaScript is that the former is the specification of the latter, which is an implementation of the former (in addition to the ECMAScript dialect and Jscript and ActionScript). In everyday situations, these two words can be interchangeable. And ECMASCRIPT6 is a new generation of JavaScript language.

5. What is Webpack?

Ebpack is a front-end packaging and building tool

6, why say Webpack is a front-end packaging tools? Why should the front-end code be packaged?

Because a single-page application uses a lot of footage, if each of the footage is introduced in the HTML by the SRC attribute or link, then when requesting a page, the browser may have to initiate multiple requests, often in the request these resources are some script code or a small picture, the resources themselves are only a few k, Download not required for one second, but because HTTP is the application layer protocol, its lower layer is the TCP Transport layer protocol, the TCP handshake and wave process may take longer than the download resources themselves, so it is necessary to package these small files into a file, so long as a TCP handshake and wave process, Many resources are downloaded down, and multiple resources because all share an HTTP request, so the head and other parts are also shared, equivalent to form a scale effect, so that the page to show faster, user experience better.

7. Why Webpack is a building tool

This will have to mention ECMASCRIPT6, the new version of JavaScript.

Now there are many people at home and abroad with the old version of the browser, these browsers do not support ECMASCRIPT6, then our front-end projects want to run on such a browser, It takes Webpack's loader to automatically load a converter to convert our written ECMAScript6 to the old JavaScript language that the browser can support, the name of the converter is Babel, which is the Webpack build feature. What are NPM and node. js and what are they? node. JS is a server-side JavaScript runtime environment that enables you to write standalone programs with JavaScript through node. js. NPM is a node. js Package Manager.

8. What is VUE.CLI?

It is a vue.js scaffold tool. Plainly, it's a tool that automatically helps you build a good project directory, configure Webpack, and a variety of dependent packages.

Vue.js Study Summary (i.)

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.