官术网_书友最值得收藏!

Why another frontend framework?

Vue is a relative newcomer in the JavaScript frontend landscape, but a very serious challenger to the current leading libraries. It is simple, flexible, and very fast, while still providing a lot of features and optional tools that can help you build a modern web app efficiently. Its creator, Evan You, calls it the progressive framework:

  • Vue is incrementally adoptable, with a core library focused on user interfaces that you can use in existing projects
  • You can make small prototypes all the way up to large and sophisticated web applications
  • Vue is approachable--the beginners can pick up the library easily, and the confirmed developers can be productive very quickly

Vue roughly follows a Model-View-ViewModel architecture, which means the View (the user interface) and the Model (the data) are separated, with the ViewModel (Vue) being a mediator between the two. It handles the updates automatically and has been already optimized for you. Therefore, you don't have to specify when a part of the View should update because Vue will choose the right way and time to do so.

The library also takes inspiration from other similar libraries such as React, Angular, and Polymer. The following is an overview of its core features:

  • A reactive data system that can update your user interface automatically, with a lightweight virtual-DOM engine and minimal optimization efforts, is required
  • Flexible View declaration--artist-friendly HTML templates, JSX (HTML inside JavaScript), or hyperscript render functions (pure JavaScript)
  • Composable user interfaces with maintainable and reusable components
  • Official companion libraries that come with routing, state management, scaffolding, and more advanced features, making Vue a non-opinionated but fully fleshed out frontend framework
主站蜘蛛池模板: 博兴县| 临桂县| 巨鹿县| 四会市| 衡山县| 苍山县| 利津县| 甘谷县| 荣成市| 兴国县| 乌兰浩特市| 电白县| 安康市| 揭东县| 巴林右旗| 错那县| 安义县| 定边县| 通化市| 西峡县| 内乡县| 丹巴县| 贵州省| 都昌县| 县级市| 日土县| 内丘县| 大同市| 仙居县| 东安县| 武山县| 辛集市| 彰武县| 金坛市| 赣州市| 高阳县| 赤城县| 仙桃市| 松潘县| 华蓥市| 镇雄县|