Leanpub Header

Skip to main content

从零开始的Angular 17

使用Angular构建销售应用程序。现在带来Angular 17!

使用Angular构建销售应用程序。现在带来Angular 17!

This book is a translation into Chinese (Simplified) of Angular 17 from Scratch which was originally written in English

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
About

About

About the Book

本书的主要目的是通过创建一个包含多种屏幕和功能的销售系统来教授Angular框架。我们不仅仅展示框架的理论,这些理论可以从其出色的文档中轻松获得,而是直接开始系统的开发。

本书已为版本17完全重写。如果您购买了本书的版本14,请再次下载。

您将学到的内容

- 如何使用Angular生成器创建应用程序、组件、模块等。

- 向应用程序添加Angular Material,并使用Material Card、Material Table等组件。

- 使用Flex Box创建响应式和适用于移动设备的表单

- 学习如何以正确的方式访问API,使用Typescript并处理类型化对象。

- 学习新的Angular指令,@if, @for

- 学习如何使用@Input()和@Output在组件之间传递数据

- 学习如何创建模块并以正确的方式切分您的应用程序

- 学习独特的组件创建技巧

- 学习如何部署到github页面

- 学习如何使用环境变量

- 学习如何创建现成的Angular组件

- 学习如何使用Observable类

- 学习如何使用服务来管理状态

- 源代码可以在这里找到。

Share this book

Categories

This book is a translation into Chinese (Simplified) of Angular 17 from Scratch which was originally written in English

Price

Pick Your Price...

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Daniel Schmitz

Daniel Schmitz is a software developer and writer. He's originally from Brazil and has published several books in Portuguese/English.

Contents

Table of Contents

1介绍

  1. 1.1关于盗版
  2. 1.2支持
  3. 1.3源代码
  4. 1.4安装
  5. 1.4.1Visual Studio Code 扩展
  6. 1.5后端(服务器)

2你好 Angular

  1. 2.1安装
  2. 2.2创建工作区和初始应用程序
  3. 2.3Angular 开发工具
  4. 2.4Angular Material
  5. 2.5是时候提交项目了(可选)
  6. 2.6让我们添加一个远程仓库(可选)
  7. 2.7让我们在 Visual Studio Code 中打开项目
  8. 2.8模块怎么样?

3开始

  1. 3.1让我们清理!
  2. 3.2Material组件
  3. 3.3添加原理图
  4. 3.4在您的应用程序中添加导航
  5. 3.5将 Home 组件添加到 App 中
  6. 3.6更改 Home
  7. 3.7组件
  8. 3.8Typescript 和接口
  9. 3.9分类组件
  10. 3.10路由
  11. 3.11制作仪表盘

4分类

  1. 4.1Angular Material 卡片
  2. 4.2添加全局 Css 样式
  3. 4.3更多边距/间距样式(可选)
  4. 4.4从类别 API 获取数据
  5. 4.5配置 HttpClient
  6. 4.6服务
  7. 4.7类别服务
  8. 4.8GetAll() 方法的第一个版本
  9. 4.9环境变量
  10. 4.10设置 API 返回类型
  11. 4.11GetAll() 方法的最终版本
  12. 4.12使用 MatTable 显示类别
  13. 4.13添加描述列
  14. 4.14新类别
  15. 4.15创建类别表单
  16. 4.16创建一个分类表单
  17. 4.17创建一个响应式表单
  18. 4.18添加描述字段
  19. 4.19创建响应式表单:CSS FlexBox布局
  20. 4.20验证
  21. 4.21设置错误消息
  22. 4.22提交表单
  23. 4.23回顾一些Angular模式
  24. 4.24控制表单的可见性
  25. 4.25在表单上创建返回按钮
  26. 4.26事件绑定
  27. 4.27通过事件传递表单数据
  28. 4.28类型转换
  29. 4.29保存分类
  30. 4.30编辑分类
  31. 4.31修复一个小Bug
  32. 4.32删除一个分类
  33. 4.33本章我们学到了什么
  34. 4.34从 Angular 14..15..16 的不同之处

5重构类别

  1. 5.1添加加载时请求服务器
  2. 5.2如何查看加载效果
  3. 5.3在Angular.json配置文件中跳过测试和CSS文件创建
  4. 5.4是时候部署了!(可选)
  5. 5.5“Material 模块”

6供应商

  1. 6.1创建供应商组件
  2. 6.2使用路由和子路由
  3. 6.3供应商 DTO
  4. 6.4供应商服务
  5. 6.5列出供应商
  6. 6.6创建一个新组件
  7. 6.7如果 @for 为空则显示消息
  8. 6.8配置路由
  9. 6.9显示一个供应商
  10. 6.10编辑供应商
  11. 6.11供应商表单
  12. 6.12在 SuppliersEditComponent 中添加表单
  13. 6.13删除供应商
  14. 6.14新供应商
  15. 6.15结论

7产品

  1. 7.1初始文件
  2. 7.2产品服务
  3. 7.3产品列表
  4. 7.4添加产品到购物车
  5. 7.5“AddToCart”按钮
  6. 7.6创建购物车图标
  7. 7.7添加结账页面

8未来的更新

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub