About Vue.js learning (Continued)

 

Progressive JavaScript framework

  • Easy to use: you will have the HTML, CSS, JavaScript? Read the guide immediately start building applications!

  • Flexible: increasing prosperity ecosystem can freely scalable between a library and a comprehensive framework.

  • Efficient: 20kB min + gzip run size; virtual Ultrafast the DOM; most worry optimization

Document Object Model (Document Object Model, referred to as DOM), is the W3C recommended processing Extensible Markup Language standard programming interface

It is a platform- and language-independent application program interface (API), which can access programs and scripts to dynamically update the content, structure and style www documents (currently, HTMl and XML documents is defined by the Description section) .

Documents can be further processed and the results of the processing can be added to the current page.

DOM is a tree-based API documentation, it requires processing the entire document is represented in the memory of.

Another simple API is based on SAX events, which can be used to process large XML documents, due to the large, so not all fit in memory processing.

 

What is Vue.js

VUE (pronunciation / vjuː /, similar to the view) is a progressive frame for constructing user interfaces.

The other frame difference is large, Vue is designed to be applied from the bottom up layer by layer.

Vue core library focus only on the view layer, is not only easy to use but also easy to integrate third-party libraries or existing project.

On the other hand, when the modern tool chain and various support libraries when used in combination, Vue also fully capable of providing drive for complex one-page application.

 

Compared to other frameworks

React

React and Vue have many similarities, they have:

  • Use Virtual DOM
  • Providing the response of formula (Reactive) and component (Composables that) view component.
  • We will focus on keeping the core library, while the other functions such as routing and management to the global state associated libraries.

Because has many similarities, we will compare this one more time. Here we not only ensure the accuracy of technical content, but also take into account the balance of considerations. We need to recognize React better place than the Vue, such as a richer ecosystem.

The following chapters will be slightly out of date, because of the recent React 16+ release, we plan to rewrite this part together in the near future and React community.

 

Guess you like

Origin www.cnblogs.com/panpanwelcome/p/11753914.html