本文介绍了是什么AngularJS和AngularDart之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么AngularJS和AngularDart之间的区别?如果有人刚开始接触角,这应该他们先学什么?

What's the difference between AngularJS and AngularDart? If someone is just getting started with Angular, which should they learn first?

推荐答案

该角团队的使命是使建筑物Web的应用程序很容易在网络上。我们要支持尽可能多的语言尽可能。

The Angular team's mission is to make building web-applications easy on the web. We want to support as many languages as possible.

AngularJS支持:JavaScript和通过transpilation CoffeeScript的打字稿及

AngularJS supports: JavaScript and through transpilation CoffeeScript and TypeScript.

AngularDart明显支持飞镖。飞镖是从JavaScript显著不同之处在于transpilation做法不会造成我们正在寻找经验,为此,我们已经重写了。飞镖有类型和类型注解,因此而改写AngularDart我们已经选择了利用这些语言特性的优势。我们也从我们AngularJS错误中吸取教训,并采取有机会改正,如大大改善指令API。最后,我们必须采取影子DOM的顶部利用最新的浏览器技术和基于AngularDart。

AngularDart obviously supports Dart. Dart is significantly different from JavaScript that transpilation approach would not create the experience we were looking for, for this reason we have rewritten it. Dart has Types, and Type annotations, and so while rewriting AngularDart we have chose to take advantage of these language features. We have also learned from our mistakes on AngularJS and taken the opportunity to correct them, such as much improved Directive API. Finally we have take advantage of the latest browser technologies and based AngularDart on top of Shadow DOM.

所有我们在建设AngularDart都获得了学习收获的,将被应用回AngularJS V2。这只是意料之中的,因为AngularDart比AngularJS年轻。

All of the learnings we have gained in building AngularDart, will be applied back to AngularJS v2. This is only expected since AngularDart is younger than AngularJS.

角是应用程序应该如何建立一个理念,我们希望使语言选择正交的问题,为您选择采用了棱角分明的。您选择的任何网络的语言,有一个角度,你可以使用它。

Angular is a philosophy on how applications should be built and we wanted to make the question of language choice orthogonal to your choice of using Angular. Any web-language you choose, there is an Angular you can use with it.

这篇关于是什么AngularJS和AngularDart之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 04:36