Getting Started with Angular: Create and Deploy Angular Applications

Garcia, Victor Hugo

  • 出版商: Apress
  • 出版日期: 2023-03-24
  • 售價: $2,370
  • 貴賓價: 9.5$2,252
  • 語言: 英文
  • 頁數: 392
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484292081
  • ISBN-13: 9781484292082
  • 相關分類: Angular
  • 海外代購書籍(需單獨結帳)

商品描述

Immerse yourself in the architecture of an Angular application, starting with an introduction to TypeScript and ES6, and progressing to modules and components used to build complex applications. This book presents a hands-on approach to becoming a proficient Angular developer by building three complete applications.

You'll start with an overview of the Angular framework where TypeScript and ES6 are introduced. Next you'll see how to build an application (RestApp) using the in-memory module to mock an API that communicates with a rest API performing crud operations. This is followed by an application (AuthApp) that uses a third party service to provide authentication and authorization capabilities to handle registrations. You'll then build an application (BlogApp) that communicates with a MongoDB database in six parts.

Part 1 covers MongoDB, how to install bootstrap, login service, and adding the logic of the form. Part 2 covers how to start the project on the server, create the database and AuthService, and save the user in the session. In Parts 3 and 4 you will learn to create the post collection, post component, and sharpen details. In Parts 5 and 6 you will study adding, editing, and deleting posts with testing.

By the end of the book you'll have the necessary knowledge to write and execute automated tests on your applications, and deploy them to a server.

What You'll Learn

  • Divide the logic of an application into components
  • Communicate with an API
  • Release the power of the observables to solve asynchronous programming problems
  • Include Bootstrap so that your application looks great on different devices

Who This Book Is For

Web developers with basic knowledge of JavaScript, HTML, and CSS.


商品描述(中文翻譯)

深入研究 Angular 應用程式的架構,從 TypeScript 和 ES6 的介紹開始,進而探討用於建立複雜應用程式的模組和元件。本書以實作為基礎,透過建立三個完整的應用程式,幫助讀者成為熟練的 Angular 開發人員。

首先,您將瞭解 Angular 框架的概述,並介紹 TypeScript 和 ES6。接著,您將學習如何使用內存模組建立一個應用程式(RestApp),以模擬與 REST API 進行 CRUD 操作的 API 通訊。然後,您將建立一個應用程式(AuthApp),使用第三方服務提供身分驗證和授權功能,以處理註冊。最後,您將建立一個應用程式(BlogApp),該應用程式與 MongoDB 資料庫進行通訊,分為六個部分。

第一部分介紹 MongoDB、如何安裝 Bootstrap、登入服務以及表單邏輯的添加。第二部分涵蓋如何在伺服器上啟動專案、建立資料庫和 AuthService,以及將使用者保存在會話中。第三和第四部分將學習建立文章集合、文章元件以及細節的完善。第五和第六部分則介紹如何新增、編輯和刪除文章,並進行測試。

本書結束時,您將具備撰寫和執行應用程式自動化測試以及部署到伺服器的必要知識。

以下是本書的學習重點:
- 將應用程式的邏輯分解為元件
- 與 API 進行通訊
- 利用 Observable 解決異步程式設計問題
- 使用 Bootstrap 使應用程式在不同設備上呈現出色的外觀

本書適合具備 JavaScript、HTML 和 CSS 基礎知識的網頁開發人員。