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

Angular architecture

Before we discuss architecture, let's see what's new in Angular. The primary focus of Angular is mobiles, as it is important to consider the performance and loading time of the application on a mobile phone. Many modules are decoupled from the Angular core, leaving only the modules that are definitely core; removing unwanted modules from Angular core leads to better performance.

Angular targets ES6 and leverages TypeScript as a development script language that enables compile time checks for types, rather than at runtime. TypeScript provides additional information about classes when instantiating them by annotating metadata to the classes. You can also use ES5 and Dart as the development language. There is an improved version of Dependency Injection that supports child injectors and instance scope. Router was rewritten completely and the component router was introduced. The Component Directive, the Decorator Directive, and the Template Directive are supported in Angular. The $scope has been completely removed from Angular.

The architecture of Angular comprises Modules, Components, Templates, Metadata, Directives, and Services:

主站蜘蛛池模板: 青州市| 邮箱| 上虞市| 长汀县| 昌吉市| 长宁区| 绵竹市| 宁河县| 襄城县| 玉溪市| 西青区| 辽源市| 新建县| 炎陵县| 涟源市| 那坡县| 新巴尔虎右旗| 唐山市| 平乡县| 苗栗市| 兴海县| 普宁市| 平湖市| 乌兰浩特市| 乌兰浩特市| 吴桥县| 股票| 犍为县| 南康市| 绥化市| 永德县| 商丘市| 始兴县| 大同市| 利津县| 海晏县| 壶关县| 团风县| 白河县| 济阳县| 彭山县|