Angular Development with TypeScript
Anton Moiseev, Yakov Fain
- 560 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Angular Development with TypeScript
Anton Moiseev, Yakov Fain
About This Book
Summary Angular Development with TypeScript, Second Edition is an intermediate-level tutorial that introduces Angular and TypeScript to developers comfortable with building web applications using other frameworks and tools.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Whether you're building lightweight web clients or full-featured SPAs, Angular is a clear choice. The Angular framework is fast, efficient, and widely adopted. Add the benefits of developing in the statically typed, fully integrated TypeScript language, and you get a programming experience other JavaScript frameworks just can't match. About the Book Angular Development with TypeScript, Second Edition teaches you how to build web applications with Angular and TypeScript. Written in an accessible, lively style, this illuminating guide covers core concerns like state management, data, forms, and server communication as you build a full-featured online auction app. You'll get the skills you need to write type-aware classes, interfaces, and generics with TypeScript, and discover time-saving best practices to use in your own work. What's inside
- Code samples for Angular 5, 6, and 7
- Dependency injection
- Reactive programming
- The Angular Forms API
About the Reader Written for intermediate web developers familiar with HTML, CSS, and JavaScript. About the Author Yakov Fain and Anton Moiseev are experienced trainers and web application developers. They have coauthored several books on software development. Table of Contents
- Introducing Angular
- The main artifacts of an Angular app
- Router basics
- Router advanced
- Dependency injection in Angular
- Reactive programming in Angular
- Laying out pages with Flex Layout
- Implementing component communications
- Change detection and component lifecycle
- Introducing the Forms API
- Validating forms
- Interacting with servers using HTTP
- Interacting with servers using the WebSocket protocol
- Testing Angular applications
- Maintaining app state with ngrx
Frequently asked questions
Information
Chapter 1. Introducing Angular
- A high-level overview of the Angular framework
- Generating a new project with Angular CLI
- Getting started with Angular modules and components
- Introducing the sample application ngAuction
Note
Note
1.1. Why select Angular for web development?
- Generate a new single-page web app in seconds using Angular CLI
- Create a web app that consists of a set of components that can communicate with each other in a loosely coupled manner
- Arrange the client-side navigation using the powerful router
- Inject and easily replace services, classes where you implement data communication or other business logic
- Arrange state management via injectable singleton services
- Cleanly separate the UI and business logic
- Modularize your app so only the core functionality is loaded on app startup, and other modules are loaded on demand
- Creating modern-looking UIs using the Angular Material library
- Implement reactive programming where your app components donât pull data that may not be ready yet, but subscribe to a data source and get notifications when data is available