我是一个简单的新手网络开发人员 . 我将创建一个供我自己使用的简单网站 .
作为一名新手网络开发人员,我只知道很少有JavaScript和jQuery的概念 .
为了构建我的网站,我认为让我们用一些新概念构建 .
因此,当我开始搜索时,我了解了许多新的库,如AngularJS,Angular 2,TypeScript,React.js和Node.js. whewww ...
所以我想问一个简单的问题,这些库是什么?
Angular 2 Angular Connect AngularJS AngularJS之间有什么区别吗?
我知道React.js是由Facebook创建的,而AngularJS是由Google创建的 .
I don't want to create the comparison between all this libraries. But want to understand all this concepts in single page with clear answer.
作为Web开发人员,我只想知道这些是什么?
请帮助我简化所有这些条款 . And please let me know what each library provides?
2 回答
Typescript不是一个库,它是一种编译为Javascript的语言,允许 static typing ,以及其他一些东西,如编写ES6并将其编译为ES5 .
Typescript的一个重要内容是任何Javascript代码都是有效的Typescript代码 . 它是JS的超集,这意味着它只是为JS添加了功能,但保持了所有功能的兼容性 .
它与三个库中的每一个都兼容 .
第一个角度2对角度1
Angular 2:它的角度的下一个版本......目前正在积极开发中 . 它正在TypeScript中重写https://angular.io/
Angular 1:它当前版本的角度:https://angularjs.org/
现在角度与反应
最后TypeScript:它只是一种编译语言,可以转换为JavaScript,因此可以与任何这些框架一起使用 .