Traditional Culture Encyclopedia - Traditional stories - Vue Section 1: What is the framework of Vue.js and why did you choose it?
Vue Section 1: What is the framework of Vue.js and why did you choose it?
Through this section, you will learn:
1. Current trends in the use of front-end technologies
2. What is MVVM?
Advantages of 3.3. vue . j
4. Two 4 cores. vue . j
Applicable scenarios of 5.5. vue . j
2 birth background
In recent years, thanks to the popularity of mobile devices and the improvement of efficiency, the web demand of mobile terminals has greatly increased, resulting in something called webapp, which is the web application of mobile terminals.
Their functions are becoming more and more complex, their interactions are getting cooler, and their functions and effects are getting closer to native apps. For example, the following:
(The effect is almost equivalent to the native APP)
This kind of webapp not only has cool effect similar to h5 marketing page, but also has complex interaction such as clicking, inputting, drop-down selection, viewing and switching. Under such business requirements, it is inevitable to continue to use PC-side development solutions. For example: view switching.
In the first section, what is the framework of Vue.js and why did you choose it? If you are still using jquery to frequently operate your DOM to update the page, then you can use Vue.js to liberate your DOM operation.
If many parts of the project are the same and can be packaged into a component, you can try using Vue.js
In addition, the core implementation of Vue.js uses the Object.defineProperty feature of ES5, and browsers of IE8 and below are not compatible, so if your project needs to be compatible with these lower browsers, then Vue.js is not applicable.
After all, the purpose of development projects is not to use frameworks.
Let's just say that the frame is like a rough house. The main frame has been built. You just need to decorate according to your wishes, because houses are like that. Of course, you can also write it yourself. Do you think you can build a house faster than you have already built it?
What is the framework of Vue.js? Why did you choose it? Vue.js is a front-end framework with strong interactivity. Enter the official Chinese website of Vue.js, and a short video will appear on the home page to explain the simple and basic usage of vue.js.
Login front-end library or GitHub, the popularity of Vue, and the rapid growth of justice have become the most popular frameworks at present. Of course, I'm just saying, with the popularity now. In fact, many people will choose react and angular. This is an important reason why we choose Vue.
Vue is much easier to use than react and angular. I spent less than 15 days learning the basic knowledge of Vue, and I am still deeply understanding and applying it.
Vue's components combined with ES6 can make the page easier to maintain.
In-depth use of the life cycle of Vue can maximize the efficiency of visitors and realize many functions.
There are too many reasons to choose Vue. I like to use Vue's components and life cycle best. But novices are not advised to know more about the life cycle of Vue. When you learn the basics before developing, you will find the life cycle of Vue, which is worth studying.
Finally, I want to say, besides learning Vue.js well. You must learn the whole family bucket of Vue, especially the routing (relatively difficult). Others, like vue-cli, are very simple.
One more thing, Vue is generally used to manipulate single pages.
Front-end: what is the framework of Vue.js and why did you choose it? The data binding and combined view component of Vue (taken from official website of Vue.js) is data-driven: data changes drive the view to update automatically. Traditionally, you need to manually change the DOM to change the view. Vuejs only needs to change the data, and it will automatically change the view, in one word: cool. You don't have to worry about DOM update anymore. This is the realization of MVVM idea.
Applicable scenario
If you are still using jquery to frequently operate your DOM to update the page, then you can use Vue.js to liberate your DOM operation.
If many parts of the project are the same and can be packaged into a component, you can try using Vue.js
In addition, the core implementation of Vue.js uses the Object.defineProperty feature of ES5, and browsers of IE8 and below are not compatible, so if your project needs to be compatible with these lower browsers, then Vue.js is not applicable.
After all, the purpose of development projects is not to use frameworks.
I hope it helps you.
Vue.js is the foreground and background framework. How to choose the interaction between foreground and background is actually realized through servlet.
That is, the servlet writes the data to the foreground and the foreground displays it. Information is submitted in the foreground and processed by servlet.
The framework just encapsulates the servlet and provides a simpler and easier-to-maintain integration mode. If you are interested in the implementation of the framework, you can look at the source code of nutz.
Nutz is made in China and has very good documents and notes.
Is vue.js a framework or a component? Can I visit official website? Web link? , there is such a description:
Vue (pronunciation /vju? /,similar to? View) is a progressive framework for building user interfaces.
Official website's introduction is very detailed. Read carefully and you will get something!
How does the framework of Vue.js integrate the differences between the existing framework of vue.js and other frameworks? The difference between 1. and AngularJS is the same: both support commands: built-in commands and custom commands. Both support filters: built-in filters and custom filters. Both support bidirectional data binding. Low-end browsers are not supported. Difference: 1. AngularJS has high learning cost, such as increased dependence.
Which ui framework does vue.js work with? Vue uses more ui framework than VUX.
These frameworks:
Js framework is jQuery, zepto and so on, mv* is angular, backbone and so on, css is jQuery ui, bootstrap and so on.
Is vue.js a framework or a development tool?
It is more suitable for WEB development on mobile phones. Declarative development is the same as angular.js, but it is more efficient and much smaller than angular. Although it is in Chinese, other people's documents are all in English, and there are few examples.
- Previous article:What are the top ten literary masterpieces of China?
- Next article:Chinese New Year customs: why eat dumplings on New Year's Day
- Related articles
- Dysonv8 Vacuum Cleaner Innovative for Transcendence The appearance and details of dysonv8 are introduced
- How to draw hometown food handwritten newspaper?
- Please answer which industry is our economy supported by?
- Internet industry introduction guide
- Grouping words for boat
- Comparison of Tendai Watches and Universal Watches
- What are the advantages and disadvantages of inviting tenders?
- How to make your own float?
- What are the style characteristics of Huangmei Opera?
- Model essay on radio planning book