Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Angular

You're reading from   Learning Angular A practical guide to building web applications with modern Angular

Arrow left icon
Product type Paperback
Published in Jan 2025
Publisher Packt
ISBN-13 9781835087480
Length 486 pages
Edition 5th Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Aristeidis Bampakos Aristeidis Bampakos
Author Profile Icon Aristeidis Bampakos
Aristeidis Bampakos
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Building Your First Angular Application 2. Introduction to TypeScript FREE CHAPTER 3. Structuring User Interfaces with Components 4. Enriching Applications Using Pipes and Directives 5. Managing Complex Tasks with Services 6. Reactive Patterns in Angular 7. Tracking Application State with Signals 8. Communicating with Data Services over HTTP 9. Navigating through Applications with Routing 10. Collecting User Data with Forms 11. Handling Application Errors 12. Introduction to Angular Material 13. Unit Testing Angular Applications 14. Bringing Applications to Production 15. Optimizing Application Performance 16. Index

Why choose Angular?

The power of the Angular framework is based on the combination of the following characteristics:

  • The main pillars of the framework:
    • Cross-platform
    • Incredible tooling
    • Easy onboarding
  • The usage of Angular worldwide:
    • An amazing community
    • Battle-tested against Google products

In the following sections, we will examine each characteristic in more detail.

Cross-platform

Angular applications can run on different platforms: web, server, desktop, and mobile. Angular can run natively only on the web because it is a web framework; however, it is open-source and is backed by incredible tooling that enables the framework to run on the remaining three using the following tools:

  • Angular SSR: Renders Angular applications server-side
  • Angular service worker: Enables Angular applications to run as Progressive Web Applications (PWAs) that can execute in desktop and native mobile environments
  • Ionic/NativeScript: Allows us to build mobile applications using Angular

The next pillar of the framework describes the tooling available in the Angular ecosystem.

Tooling

The Angular team has built two great tools that make Angular development easy and fun:

  • Angular CLI: A command-line interface that allows us to work with Angular projects, from scaffolding to testing and deployment
  • Angular DevTools: A browser extension that enables us to inspect and profile Angular applications from the comfort of our browser

The Angular CLI is the de facto solution to work with Angular applications. It allows the developer to focus on writing application code, eliminating the boilerplate of configuration tasks such as scaffolding, building, testing, and deploying an Angular application.

Onboarding

It is simple and easy to start with Angular development because when we install Angular, we also get a rich collection of first-party libraries out of the box, including:

  • An Angular HTTP client to communicate with external resources over HTTP
  • Angular forms to create HTML forms to collect input and data from users
  • An Angular router to perform in-app navigations

The preceding libraries are installed by default when we create a new Angular application using the Angular CLI. However, they are only used in our application if we import them explicitly into our project.

The usage of Angular worldwide

Many companies use Angular for their websites and web applications. The website https://www.madewithangular.com contains an extensive list of those companies, including some popular ones.

Additionally, Angular is used in thousands of projects by Google and by millions of developers worldwide. The fact that Angular is already used internally at Google is a crucial factor in the reliability of the framework. Every new version of Angular is thoroughly tested in those projects before becoming available to the public. The testing process helps the Angular team catch bugs early and delivers a top-quality framework to the rest of the developer community.

Angular is backed and supported by a thriving developer community. Developers can access many available communities worldwide, online or locally, to get help and guidance with the Angular framework. On the other hand, communities help the Angular framework progress by sharing feedback on new features, testing new ideas, and reporting issues. Some of the most popular online communities are:

  • Tech Stack Nation: The world’s friendliest Angular study group that brings together Angular developers who are passionate about improving their confidence in building amazing Angular applications. Tech Stack Nation is a community where Angular developers can collaborate, learn from each other’s expertise, and push the boundaries of what Angular can achieve. You can join Tech Stack Nation at https://techstacknation.com.
  • Angular Community Discord: Angular’s official Discord server that brings the incredible Angular community together. Everyone is welcome to join the community with the click of a button. It is the central location to connect Angular team members, Google Developer Experts (GDEs), library authors, meetup groups, and anyone interested in learning the framework. You can join the Angular Community Discord server at https://discord.gg/angular.
  • Angular.love: A community platform for Angular enthusiasts, supported by House of Angular, to facilitate the growth of Angular developers through knowledge-sharing initiatives. It started as a blog where experts published articles about Angular news, features, and best practices. Now, Angular.love also organizes in-person and online meetups, frequently featuring GDEs. You can join Angular.love at https://angular.love.

Now that we have seen what Angular is and why someone should choose it for web development, we will learn how to use it and build great web applications.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime