Angularjs and emberjs plans to support Web Components
Author: chszs, reprinted with note. Blog homepage: http://blog.csdn.net/chszs
Web Components (network components) is one of the upcoming HTML5 standards, used to customize the elements of the user interface. These UI elements will eventually become interchangeable between frameworks. Angularjs and emberjs both propose plans to support network components.
Next, we can see the new framework -- polymer proposed by Google. Polymer is directly built on the basis of network components, and its goal is to help improve and understand the standards of network components.
Angularjs
The goal of the angularjs framework in 2.0 is:
1. Supports the following features, such as Node Binding, template integration, and element customization );
2. seamless integration of network components;
3. ensure the compatibility between the framework and network components.
Emberjs
The goal of the emberjs framework is to adopt semantics similar to network components or DV. Emberjs will rely on the htmlbars template engine, allowing ember to directly control template parsing and conversion to Dom.
Emberjs has a wider range than network components. It focuses on application architecture and URL-driven design. Now, we need a system to manage the lifecycle of Data Binding and custom views, so we include such a system in our architecture tools.
Once the web provides its own tools to manage components and final data binding, the Ember framework will accept this and bypass it.