What are the similarities and differences of the three front-end framework it


  Web front-end framework can be described as varied, so much that you can not imagine, but it can settle down much, and the three so-called front-end framework, means when Angular, React, Vue, when the three current framework is also the most popular time most people use the framework, so I deliberately impressionistic description appears in three sequential frames, and I always believe to understand a thing, you must first understand its ins and outs, so the following will talk about a few characteristics of each frame:

  Angular

  Angular formerly known angularJS was born in 2009, before we are using jquery development, since the angular appears to us to have a new option, its greatest feature is the back-end of some of the development model transplanted to the front to achieve, such as MVC, dependency injection and so on, innovative two-way data binding do not know how much we simplify the code, let us crazy, especially in terms of form processing, from fame.

  Good frameworks generally have two results, a continually updated iteration to avoid being shot dead on the beach, a few large companies are acquired by a second spring, angular latter was acquired by google, and renamed from 2.0 angular and use Microsoft's typescript as a development language, the latest version 8.0, near the google talk about the importance of these two ship with Microsoft, the future of limitless fishes should, however, get good luck, now angular market share has been the rising star and React Vue nova far flung behind.

c61596f2f3d64bb99ad94502b248d5e1.jpg

  React

  React, facebook produced, the official version was launched in 2013, four years later than the angular, but thanks to its innovative style VirtualDOM, rolling angularJS performance, once launched, a mess of fire. Many features, VirtualDOM, JSX, Diff algorithm, support ES6 syntax, the use of functional programming, the threshold is slightly higher, but also more flexible, allowing developers have more possibilities.

  View

  Vue as a framework for the final launch (in 2014), drawing senior angular and react characteristics (such as VirtualDOM, two-way data binding, diff algorithm, responsive property, component-based development, etc.) and made the relevant optimized to use more convenient and easier to use, less suitable for beginners. There are a lot of people say online Vue is not suitable for large-scale projects, pure crap, Vue in this regard has been optimized very well, of course, a large number of responsive property (monitor property) may use some performance loss, but in the hardware, network develop today, these subtle difference in performance is almost imperceptible.

  Having their own characteristics in common besides

  Are progressive framework can achieve greater functionality through different supporting tools

  Are component-based development, can be a good solution to the problem of the division of labor and maintenance

  Processing of the data flow is unidirectional (AngularJS two-way, but in the version used in all angular2 way data flow)

  ……

  Features on the front end of three frames fact there are many, I'm here just to be a primer, more to make their own use and understand in order to truly understand the similarities and differences of the three framework in which I can not express gifted than xxx xxx framework point of view, because I think this is too one-sided, we should not take attention to judge the quality of a framework of low angular degree of attention it does not affect the status of a great frame and each frame has its advantages and disadvantages, There is reasonable, it can really solve the problem as long as the actual development process, this is what we want framework.


Guess you like

Origin blog.51cto.com/14390906/2408023