Angular Projects, 2nd Edition
- Length: 337 pages
- Edition: 2
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2021-07-09
- ISBN-10: 1800205260
- ISBN-13: 9781800205260
- Sales Rank: #1435929 (See Top 100 Books)
Understand Angular web application development by building captivating real-world applications while exploring modern web technologies and best practices
Key Features
- Explore Angular’s capabilities for building applications across different platforms
- Combine popular web technologies with Angular such as monorepo, Jamstack, and PWA
- Build your own libraries and schematics using Angular CDK and Angular CLI
Book Description
Angular is a popular JavaScript framework that can run on a broad range of platforms including web, desktop, and mobile. It has an array of rich features right out of the box and a wide range of tools that makes it popular among developers. This updated second edition of Angular Projects will teach you how to build efficient and optimized web applications using Angular.
You will start by exploring the essential features of the framework by creating ten different real-world web applications. Each application will demonstrate how to integrate Angular with a different library and tool. As you advance, you will understand how to implement popular technologies such as Angular Router, Scully, Electron, Angular service worker, Nx monorepo tools, NgRx, and more while building an issue tracking system, a PWA weather application, a mobile photo geotagging application, a component UI library, and many other exciting projects. Toward the concluding chapters, you’ll get to grips with customizing Angular CLI commands using schematics.
By the end of this book, you will have the skills you need to be able to build Angular apps using a variety of different technologies according to your or your client’s needs.
What you will learn
- Set up Angular applications using Angular CLI and Nx Console
- Create a personal blog with Jamstack and SPA techniques
- Build desktop applications with Angular and Electron
- Enhance user experience (UX) in offline mode with PWA techniques
- Make web pages SEO-friendly with server-side rendering
- Create a monorepo application using Nx tools and NgRx for state management
- Focus on mobile application development using Ionic
- Develop custom schematics by extending Angular CLI
Who This Book Is For
If you are a developer who has beginner-level experience with Angular and are looking to become well-versed with essential tools and deal with the various use cases you may encounter with Angular, then this Angular development book is for you. Beginner-level knowledge of web application development and basic experience working with ES6 or TypeScript are assumed.
Angular Projects Second Edition Foreword Contributors About the author About the reviewer Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Share Your Thoughts Chapter 1: Creating Your First Web Application in Angular Essential background theory and context Introduction to the Angular CLI Angular tooling in VSCode Project overview Getting started Creating our first Angular application Interacting with the Angular framework Building our application with Nx Console Summary Practice questions Further reading Chapter 2: Building an SPA Application with Scully and Angular Router Essential background theory and context Project overview Getting started Setting up routing in an Angular application Creating the basic layout of our blog Configuring routing for our application Creating the contact page Adding the articles page Adding blog capabilities with Scully Installing the Scully library Initializing our blog page Displaying blog posts on the home page Summary Practice questions Further reading Chapter 3: Building an Issue Tracking System using Reactive Forms Essential background theory and context Project overview Getting started Installing Clarity to an Angular application Displaying an overview of issues Fetching pending issues Visualizing issues in a data grid Reporting new issues Setting up reactive forms in an Angular application Creating the report issue form Displaying a new issue in the list Validating the details of an issue Resolving an issue Turning on suggestions for new issues Summary Exercise Further reading Chapter 4: Building a PWA Weather Application Using Angular Service Worker Essential background theory and context Project overview Getting started Setting up the OpenWeather API Displaying weather data Setting up the Angular application Communicating with the OpenWeather API Displaying weather information for a city Enabling offline mode with the service worker Staying up to date with in-app notifications Deploying our app with Firebase hosting Summary Practice questions Further reading Chapter 5: Building a WYSIWYG Editor for the Desktop using Electron Essential background theory and context Project overview Getting started Adding a WYSIWYG editor library for Angular Integrating Electron in the workspace Communicating between Angular and Electron Configuring the Angular CLI workspace Interacting with the editor Interacting with the filesystem Packaging a desktop application Configuring webpack for production Using an Electron bundler Summary Practice questions Further reading Chapter 6: Building a Mobile Photo Geotagging Application Using Capacitor and 3D Maps Essential background theory and context Project overview Getting started Creating a mobile application with Ionic Scaffolding the application Building the main menu Taking photos with Capacitor Creating the user interface Interacting with Capacitor Storing data in Firebase Creating a Firebase project Integrating the AngularFire library Previewing photos with CesiumJS Configuring CesiumJS Displaying photos on viewer Summary Practice questions Further reading Chapter 7: Building an SSR Application for a GitHub Portfolio Using Angular Essential background theory and context Project overview Getting started Building an Angular application with the GitHub API Building the dashboard Displaying personal information Listing user repositories Visualizing the organization membership Integrating Angular Universal Prerendering content during build Enhancing SEO capabilities Replaying events with preboot Summary Practice questions Further reading Chapter 8: Building an Enterprise Portal Using Nx Monorepo Tools and NgRx Essential background theory and context Project overview Getting started Creating a monorepo application using Nx Creating user-specific portals Building the visitor portal Building the administrator portal Managing application state with NgRx Configuring the state Interacting with the store Visualizing data with graphs Persisting visit data in the store Displaying visit statistics Summary Practice questions Further reading Chapter 9: Building a Component UI Library Using Angular CLI and Angular CDK Essential background theory and context Project overview Getting started Creating a library with the Angular CLI Building a draggable card list Displaying card data Adding drag-and-drop functionality Interacting with the clipboard Publishing an Angular library to npm Using components as Angular elements Summary Practice questions Further reading Chapter 10: Customizing Angular CLI Commands Using Schematics Essential background theory and context Project overview Getting started Installing the schematics CLI Creating a Tailwind component Creating an HTTP service Summary Exercise Further reading Why subscribe? Other Books You May Enjoy Packt is searching for authors like you Share Your Thoughts
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Angular Projects, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.