Angular2 (One framework 概要)

前端之家收集整理的这篇文章主要介绍了Angular2 (One framework 概要)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Angular1.x 版本的火爆,我们不用多说,是很多前端工作者不错的选择,速度快,方便快捷,可拓展性强,我做过很多项目都是基于Anguar 1.x架构的。

但是Goolge公司在2.x版本,确做了新的设计,可以说和1.x版本是完全不同的,是一个崭新的框架,我们暂且不去评论它的好与坏, 我们先来看看,官方给出一个什么的解释。


Develop Across All Platforms

Learn one way to build applications with Angular and reuse your code and abilities to build apps for any deployment target. For web,mobile web,native mobile and native desktop.

(其实,这个和1.x版本没有太大区别,html5的出生就是为了跨平台。)

Speed & Performance

Achieve the maximum speed possible on the Web Platform today,and take it further,via Web Workers and server-side rendering.

Angular puts you in control over scalability. Meet huge data requirements by building data models on RxJS,Immutable.js or another push-model.

(Angular 2.x 速度上会有很大提升,用过1.x版本都知道,Anguar的性能在某些方面并不是最好的,比如ng-repeat $watch等等,2.x 版本据说可以满足大数据量,并控制其伸缩性,这点值得我们去尝试。)

Incredible Tooling

Build features quickly with simple,declarative templates. Extend the template language with your own components and use a wide array of existing components. Get immediate Angular-specific help and Feedback with nearly every IDE and editor. All this comes together so you can focus on building amazing apps rather than trying to make the code work.

(对于Angular 2.x 版本,更多是基于component的,而且这个组件是可以自由拓展,这点像React的运行机制,这样的angular灵活性和拓展性会更加出色!)

Loved by Millions

From prototype through global deployment,Angular delivers the productivity and scalable infrastructure that supports Google’s largest applications.

(Anguar做为一个开源框架,一直以来,就有很多的人在编写各种directive,方便我们直接使用,相信2.x版本,也是如此。)

原文链接:https://www.f2er.com/angularjs/149307.html

猜你在找的Angularjs相关文章