Angular Router

Victor Savkin

  • 出版商: Packt Publishing
  • 出版日期: 2017-02-28
  • 售價: $1,480
  • 貴賓價: 9.5$1,406
  • 語言: 英文
  • 頁數: 118
  • 裝訂: Paperback
  • ISBN: 1787288900
  • ISBN-13: 9781787288904
  • 相關分類: Angular
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • 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

Book Description

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.

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

商品描述(中文翻譯)

主要特點


  • 由 Angular 路由的創作者撰寫,直接從來源獲得最佳資訊

  • 全面涵蓋整個 Angular 路由庫,了解每個指令的運作方式

  • 對於需要在應用程式中管理狀態的所有嚴肅 Angular 使用者來說是必備的

書籍描述

管理狀態轉換是構建應用程式中最困難的部分之一。在網頁上尤其如此,您還需要確保狀態在 URL 中反映出來。此外,您可能希望將應用程式拆分為多個包並按需加載它們。透明地做到這一點並不容易。Angular 路由解決了這些問題。使用路由器,您可以聲明式地指定應用程式狀態,管理狀態轉換並處理 URL,並按需加載包。

您將學到什麼


  • 了解 Angular 路由的角色以及如何充分利用它

  • 構建和解析複雜的 URL

  • 了解無組件和空路徑路由

  • 掌握應用程式中的狀態控制

  • 使用命令式導航

  • 了解守衛及其對應用程式的好處

  • 優化配置並在路由上運行測試