作者: | |
ISBN: | 9781787287150 |
出版社: | |
出版日期: | 2017/03/22 |
內文簡介
From Angular core team member and creator of the router
About This Book
- Written by the creator of the Angular router, giving you the best information straight from the source
- Get full coverage of the entire Angular Router library and understand exactly how every command works
- Essential for all serious users of Angular who need to manage states within their applications
Who This Book Is For
To get the most from this book, you should already have a good understanding of Angular and general web development.
What You Will Learn
- Understand the role of the Angular router and how to make the most of it
- Build and parse complex URLs
- Learn about the componentless and empty-path routes
- Take control of states in your application
- Make use of imperative navigation
- Understand guards and how they can benefit your applications
- Optimize configuration and run tests on your routing
In Detail
Managing state transitions is one of the hardest parts of building applications. This is especially true on the web, where you also need to ensure that the state is reflected in the URL. In addition, you might want to split applications into multiple bundles and load them on demand. Doing this transparently isn't easy. The Angular router solves these problems. Using the router, you can declaratively specify application states, manage state transitions while taking care of the URL, and load bundles on demand.
This book is a complete description of the Angular router written by its designer. It goes far beyond a how-to-get-started guide and talks about the library in depth. The mental model, design constraints, and the subtleties of the API-everything is covered. You'll learn in detail how to use the router in your own applications. Predominantly, you'll understand the inner workings of the router and how you can configure it to work with any edge cases you come across in your sites.
Throughout the book, you'll see examples from real-world use in the MailApp application. You can view the full source of this application and see how the router code works to manage the state of the application and define what is visible on screen. Reading this book will give you deep insights into why the router works the way it does and will make you an Angular router expert.
Style and approach
This is an extremely practical book full of code examples and descriptions to help you understand the inner workings of the Angular router.
Kobo 電子書 購買注意事項如下:
(一)如果您是第一次購買Kobo電子書的顧客,請依以下兩種購買方式擇一進行綁定:
1.PChome 24h 網頁版(https://24h.pchome.com.tw/):結帳後至顧客中心,確認訂單狀態,若為確認中,請稍候五分鐘,待訂單狀態變為訂單成立後,點選明細,在訂單資訊中點選〔內容〕,在彈跳視窗後點選〔去兌換〕,即可前往Kobo官網執行綁定及登入流程。
我的訂單/顧客中心 >訂單查詢> 訂單編號> 點選明細 > 訂單資訊 點選〔內容〕>彈跳視窗 點選〔去兌換〕即可前往Kobo官網執行綁定及登入流程。
2.PChome APP版:結帳後至顧客中心,確認訂單狀態,若為確認中,請稍候五分鐘,待訂單狀態變為訂單成立後,點選明細,在訂單資訊中點選[序號/軟體下載],並在彈跳視窗出現後點選〔下載連結〕,即可前往Kobo官網執行綁定及登入流程。
顧客中心> 訂單查詢> 訂單編號> 點選明細 > 訂單資訊 點選 [序號/軟體下載] >彈跳視窗 點選〔下載連結〕即可前往Kobo官網執行綁定及登入流程。
*進入Kobo官網後的綁定流程請參考如下:
(使用Kobo主帳號 登入/註冊)
1. 當您在PChome 24h 網頁版(https://24h.pchome.com.tw/)/PChome APP版,購買確認後,並依步驟跳轉到Kobo官網時,下滑點選〔更多登錄選項〕,由〔PChome〕後點選進入,同意後登入,並可以註冊Kobo主帳號進行綁定,完成後,所購買的書籍即會出現在Kobo APP/Kobo 閱讀器/Kobo官網內的我的書籍。(使用快速登入:FACEBOOK、GOOGLE、APPLE帳號登入)
2. 當您在PChome 24h 網頁版(https://24h.pchome.com.tw/)/PChome APP版,購買確認後,並依指示跳轉到Kobo官網時,點選〔FACEBOOK、GOOGLE、APPLE帳號登入〕擇一登入,同意後登入,並可以註冊Kobo主帳號進行綁定,完成後,所購買的書籍即會出現在Kobo APP/Kobo 閱讀器/Kobo官網內的我的書籍。(二)如果您是已經完成PChome與Kobo帳號綁定程序,非第一次購買Kobo電子書的顧客
1.PChome 24h 網頁版(https://24h.pchome.com.tw/):結帳後至顧客中心,確認訂單狀態,若為確認中,請稍候五分鐘,待訂單狀態變為訂單成立後,點選明細,在訂單資訊中點選〔內容〕,在彈跳視窗後點選〔去兌換〕,所購買的書籍即會出現在Kobo APP/Kobo 閱讀器/Kobo官網內的我的書籍。
2.PChome APP版:結帳後至顧客中心,確認訂單狀態,若為確認中,請稍候五分鐘,待訂單狀態變為訂單成立後,點選明細,在訂單資訊中點選[序號/軟體下載],並在彈跳視窗出現後點選〔下載連結〕,所購買的書籍即會出現在Kobo APP/Kobo 閱讀器/Kobo官網內的我的書籍。
- 退換貨:依樂天Kobo官方規範為準
- 僅能由 閱讀器以外 的裝置做會員帳號綁定
- 請注意,帳號綁定後:
* Kobo會更新您的帳戶詳細資料
* 您將能在Kobo APP/Kobo 閱讀器/Kobo官網中查看所有書籍
* 帳號綁定後,您可以使用任一帳戶登入 Kobo
* 完成第一次串接時,請登出所有裝置,約等待5分鐘後再登入即可查看您的書籍
* 重新登入後,原帳戶中的書籍如有畫線註記和收藏將有遺失的可能。登出前,請務必先行拍照備份
* 若您有任何相關疑問請至Kobo官方網站 https://help.kobo.com/hc/zh-tw 並到頁面最下方點選“聯繫我們”