加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

AngularJS学习之三:学习Angular

发布时间:2020-12-17 09:43:08 所属栏目:安全 来源:网络整理
导读:对于Angular新手来说,本套文档的推荐阅读路径 每个人的学习都不一样。你不必从前到后地这样去阅读这套文档。大多数页面代表着它们自己的内容。那些新接触Angular的人们可能希望遵循一条通用的学习路径。 如果你还没有设置本地开发环境,请先配置它。 学习 T

每个人的学习都不一样。你不必从前到后地这样去阅读这套文档。大多数页面代表着它们自己的内容。那些新接触Angular的人们可能希望遵循一条通用的学习路径。

  1. 如果你还没有设置本地开发环境,请先配置它。

  2. 学习Tour of Heroestutorial.

    这个Tour of Heroes将会一步一步带着你从setup到一个完整功能的例子, 展示了一个专业性的应用的本质细节:一个可以感知到的项目结构,数据绑定,master/detail(主/细节),services,依赖注入,导航,和远程数据访问。

  3. 阅读Architecture(架构)总览来获得一个整体的印象。

  4. The Root Module(根模块)介绍了NgModule类, 这个类告诉了 Angular 如何编译和运行你的应用程序。

  5. Displaying Data(显示数据)展示了数据绑定是如何把组件的属性值放到屏幕上的。

  6. User Input(用户输入)解释了如何响应用户发起(user-initiated)的DOM事件。

  7. Forms(表单)涵盖了在UI中的数据条目和有效化确认。

  8. Dependency Injection(依赖注入)是一条路,从小的,单一目的的部分去建立大的,可维护的程序。

  9. Template Syntax(模板语法)是一个对于Angular模板HTML的综合学习。

阅读完以上章节,你就可以在本站自由地选择阅读。

以下是原文,位于https://angular.io/docs/ts/latest/guide/learning-angular.html。

Everyone learns differently. You don't have to read the documentation straight through. Most pages stand on their own. Those new to Angular may wish to follow this popular learning path.

  1. Setupfor local Angular development,if you haven't already done so.

  2. Take theTour of Heroestutorial.

    TheTour of Heroestakes you step-by-step fromsetupto a full-featured example that demonstrates the essential characteristics of a professional application: a sensible project structure,data binding,master/detail,services,dependency injection,navigation,and remote data access.

  3. Read theArchitectureoverview for the big picture.

  4. The Root Moduleintroduces theNgModuleclass that tells Angular how to compile and run your application.

  5. Displaying Datashows how data binding puts component property values on screen.

  6. User Inputexplains how to respond to user-initiated DOM events.

  7. Formscovers data entry and validation within the UI.

  8. Dependency Injectionis the way to build large,maintainable applications from small,single-purpose parts.

  9. Template Syntaxis a comprehensive study of Angular template HTML.

After reading the above sections,feel free to skip around among the other pages on this site.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读