图书 | Angular 2实例 |
内容 | 内容推荐 Angular 2能够帮助你构建出更快、更有效、更灵活的跨平台应用。它解放了JavaScript的开发,使代码变得更有组织、可读性更好、经受得住测试。本书先后构建了三个复杂度不一的应用。首先是一个简单的猜数字游戏,它作为一个将你带入Angular世界的平台。接下来,你将学习编写一个流行的7分钟锻炼(7 MinuteWorkout)应用,其中涉及了Angular的构建块。很后一个个人助理教练(Personal Trainer)将已经编写好的7分钟锻炼修改成了一个全功能的个人健身及跑步工具,其中涉及了不错指令,这是Angular很基本,也是不错大的特性。除此之外,你还将学到Angular所提供的测试工具以及框架,可用于有效地测试应用。在很后,书中给出了一些实用建议和有用的技巧,在你使用Angular构建更多的应用时,它们会助你一臂之力。 目录 Preface Chapter 1: Getting Started Angular basics The component pattern Using the component pattern in web applications Why weren't components used before in Angular? What's new that enables Angular to use this pattern? Web Components Angular and Web Components Language support in Angular ES2015 TypeScript Putting it all together Angular modules The basic steps to building Angular applications The customary Hello Angular app - Guess the Number! Setting up a development server Building Guess the Number! Designing our first component The host file An HTML page Script tags Custom elements The component file The import statement Decorators Defining the class The module file Bootstrapping We're up-and-running! Digging deeper Interpolation Tracking changes in the number of tries Expressions The safe navigation operator Data binding Property binding Event binding Structural directives Revisiting our app Looking at how our code handles updates Maintaining the state Component as the container for the state Change detection Initializing the app Loading the modules needed by our application Bootstrapping our app Tools Resources Summary Chapter 2: Building Our First App - 7 Minute Workout What is 7 Minute Workout? Downloading the code base Setting up the build The build internals Code transpiling Organizing code The 7 Minute Workout model App bootstrapping App loading with SystemJS Our first component - WorkoutRunnerComponent Component life cycle hooks Building the 7 Minute Workout view The Angular 2 binding infrastructure Interpolations Property binding Property versus attribute Property binding continued Quick expression evaluation Side-effect-free binding expressions Angular directives Target selection for binding Attribute binding Style and class binding Attribute directives Styling HTML with ngClass and ngStyle Exploring Angular modules …… Chapter 3: More Angular 2 - SPA, Routing, and Data Flows in Depth Chapter 4: Personal Trainer Chapter 5: Supporting Server Data Persistence Chapter 6: Angular 2 Directives in Depth Chapter 7: Testing Personal Trainer Chapter 8: Some Practical Scenarios Index |
标签 | |
缩略图 | ![]() |
书名 | Angular 2实例 |
副书名 | |
原作名 | |
作者 | (印)钱德玛尼·阿罗拉(Chandermani Arora),(美)凯文·汉尼斯(Kevin Hennessy) |
译者 | |
编者 | |
绘者 | |
出版社 | 东南大学出版社 |
商品编码(ISBN) | 9787564173593 |
开本 | 16开 |
页数 | 492 |
版次 | 1 |
装订 | 平装 |
字数 | 627千字 |
出版时间 | 2017-10-01 |
首版时间 | 2017-10-01 |
印刷时间 | 2017-10-01 |
正文语种 | |
读者对象 | |
适用范围 | |
发行范围 | |
发行模式 | 实体书 |
首发网站 | |
连载网址 | |
图书大类 | 人文社科-社会科学-语言文字 |
图书小类 | |
重量 | |
CIP核字 | |
中图分类号 | TP312.8 |
丛书名 | |
印张 | |
印次 | 1 |
出版地 | |
长 | |
宽 | |
高 | |
整理 | |
媒质 | |
用纸 | |
是否注音 | |
影印版本 | |
出版商国别 | |
是否套装 | |
著作权合同登记号 | |
版权提供者 | |
定价 | |
印数 | |
出品方 | |
作品荣誉 | |
主角 | |
配角 | |
其他角色 | |
一句话简介 | |
立意 | |
作品视角 | |
所属系列 | |
文章进度 | |
内容简介 | |
作者简介 | |
目录 | |
文摘 | |
安全警示 | 适度休息有益身心健康,请勿长期沉迷于阅读小说。 |
随便看 |
|
兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。