Book description
A definitive guide on frontend development with Angular from design to deployment
Key Features
- Develop web applications from scratch using Angular and TypeScript
- Explore reactive programming principles and RxJS to develop and test apps easily
- Study continuous integration and deployment on the AWS cloud
Book Description
If you have been burnt by unreliable JavaScript frameworks before, you will be amazed by the maturity of the Angular platform. Angular enables you to build fast, efficient, and real-world web apps. In this Learning Path, you'll learn Angular and to deliver high-quality and production-grade Angular apps from design to deployment.
You will begin by creating a simple fitness app, using the building blocks of Angular, and make your final app, Personal Trainer, by morphing the workout app into a full-fledged personal workout builder and runner with an advanced directive building - the most fundamental and powerful feature of Angular.
You will learn the different ways of architecting Angular applications using RxJS, and some of the patterns that are involved in it. Later you'll be introduced to the router-first architecture, a seven-step approach to designing and developing mid-to-large line-of-business apps, along with popular recipes. By the end of this book, you will be familiar with the scope of web development using Angular, Swagger, and Docker, learning patterns and practices to be successful as an individual developer on the web or as a team in the Enterprise.
This Learning Path includes content from the following Packt products:
- Angular 6 by Example by Chandermani Arora, Kevin Hennessy
- Architecting Angular Applications with Redux, RxJS, and NgRx by Christoffer Noring
- Angular 6 for Enterprise-Ready Web Applications by Doguhan Uluca
What you will learn
- Develop web applications from scratch using Angular and TypeScript
- Explore reactive programming principles, RxJS to develop and test apps efficiently
- Study continuous integration and deployment your Angular app on the AWS cloud
Who this book is for
If you're a JavaScript or frontend developer looking to gain comprehensive experience of using Angular for end-to-end enterprise-ready applications, this Learning Path is for you.
Table of contents
- Title Page
- Copyright
- Contributors
- About Packt
- Preface
-
Building Our First App - 7 Minute Workout
- What is 7 Minute Workout?
- Downloading the code base
- Setting up the build
- Organizing code
- The 7 Minute Workout model
- First feature module
- App bootstrapping
- Exploring Angular modules
- Our first component - WorkoutRunnerComponent
- Building the 7 Minute Workout view
-
Learning more about an exercise
- Adding descriptions and video panels
- Formatting exercise steps with innerHTML binding
- Displaying the remaining workout duration using pipes
- Angular pipes
- Implementing a custom pipe - SecondsToTimePipe
- Adding the next exercise indicator using ngIf
- Pausing an exercise
- The Angular event binding infrastructure
- Two-way binding with ngModel
-
Cross-component communication using Angular events
- Tracking exercise progress with audio
- Building Angular directives to wrap HTML audio
- Creating WorkoutAudioComponent for audio support
- Integrating WorkoutAudioComponent
- Summary
-
Personal Trainer
- Personal Trainer requirements
- Getting started with the code for Personal Trainer
- Using the Personal Trainer model in Workout Builder services
- The Personal Trainer layout
-
Personal Trainer navigation with routes
- Getting started with Personal Trainer navigation
- Introducing child routes to Workout Builder
- Adding the child routing component
- Updating the WorkoutBuilder component
- Updating the Workout Builder module
- Updating App Routing module
- Putting it all together
- Lazy loading of routes
- Integrating sub- and side-level navigation
- Implementing workout and exercise lists
- Building a workout
- Angular forms
- Summary
-
Supporting Server Data Persistence
- Angular and server interactions
- The basics of the HTTPClient module
-
Personal Trainer and server integration
- Loading exercise and workout data
- Loading exercise and workout lists from a server
- Updating the workout/exercise list pages
- Mapping server data to application models
- Loading exercise and workout data from the server
- Fixing the builder services
- Updating the resolvers
- Fixing the Workout and Exercise components
- Performing CRUD on exercises/workouts
- Using promises for HTTP requests
- The async pipe
- Cross-domain access and Angular
- Handling workouts not found
- Fixing the 7 Minute Workout app
- Summary
-
Angular Directives in Depth
- Building a remote validator directive
- Building a busy indicator directive
- Directive injection
- Building an Ajax button component
- Dependency injection using viewProvider
- Understanding structural directives
- Component styling and view encapsulation
- Summary
- 1.21 Gigawatt - Flux Pattern Explained
- Functional Reactive Programming
- Manipulating Streams and Their Values
- RxJS Advanced
- Create a Local Weather Web Application
- Prepare Angular App for Production Release
- Enhance Angular App with Angular Material
- Create a Router-First Line-of-Business App
- Continuous Integration and API Design
- Design Authentication and Authorization
- Angular App Design and Recipes
- Highly-Available Cloud Infrastructure on AWS
- Other Books You May Enjoy
Product information
- Title: Building Large-Scale Web Applications with Angular
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789959567
You might also like
video
Learning Angular 7
This course will show you how to set up an Angular project, and you'll build Angular …
book
Angular 6 for Enterprise-Ready Web Applications
A hands-on guide with a minimalist and flexible approach that enables quick learning and rapid delivery …
book
Build Mobile Apps with Ionic 4 and Firebase: Hybrid Mobile App Development
Leverage your existing web development skills to learn the whole cycle of hybrid mobile app development. …
video
Modern Web Design Patterns in Angular 8
Angular is one of the largest and most widely used frameworks for front-end and full-stack web …