
Learning Angular: A no-nonsense guide to building web applications with Angular, 4th Edition
- Length: 446 pages
- Edition: 4
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2023-02-23
- ISBN-10: 1803240601
- ISBN-13: 9781803240602
- Sales Rank: #295788 (See Top 100 Books)
Buy Soma Build your first production-grade web applications from scratch with Angular with the help of expert guidance and step-by-step explanations.
https://mhco.ca/ie4ue3zkv Purchase of the print or Kindle book includes a free eBook in PDF format.
Key Features
- Learn the fundamentals of Angular 15 to build web applications
- Explore the basics of Angular development, from components and templates to forms, routing, and services
- Discover best practices for building, deploying, debugging, and testing Angular applications
Book Description
https://www.psychiccowgirl.com/4h5lvp00z As Angular continues to reign as one of the top JavaScript frameworks, more developers are seeking out the best way to get started with this extraordinarily flexible and secure framework. Learning Angular, now in its fourth edition, will show you how you can use it to achieve cross-platform high performance with the latest web techniques, extensive integration with modern web standards, and integrated development environments (IDEs).
https://faroutpodcast.com/sctatwet3xc The book is especially useful for those new to Angular and will help you to get to grips with the bare bones of the framework to start developing Angular apps. You’ll learn how to develop apps by harnessing the power of the Angular command-line interface (CLI), write unit tests, style your apps by following the Material Design guidelines, and finally, deploy them to a hosting provider.
go to link Updated for Angular 15, this new edition covers lots of new features and tutorials that address the current frontend web development challenges. You’ll find a new dedicated chapter on observables and RxJS, more on error handling and debugging in Angular, and new real-life examples.
https://audiopronews.com/headlines/gaihtk4t By the end of this book, you’ll not only be able to create Angular applications with TypeScript from scratch, but also enhance your coding skills with best practices.
What you will learn
- Use the Angular CLI to scaffold, build, and deploy a new Angular application
- Build components, the basic building blocks of an Angular application
- Discover new Angular Material components such as Google Maps, YouTube, and multi-select dropdowns
- Understand the different types of templates supported by Angular
- Create HTTP data services to access APIs and provide data to components
- Learn how to build Angular apps without modules in Angular 15.x with standalone APIs
- Improve your debugging and error handling skills during runtime and development
Who this book is for
https://reggaeportugal.com/h9u1eg1ga7 This book is for JavaScript and full-stack developers dipping their feet first time in the world of frontend development with Angular, as well as those migrating to the Angular framework to build professional web applications. You’ll need prior exposure JavaScript and a solid foundation in the basics of web programming before you get started with this book.
Table of Contents
Cheap Tramadol Overnight Cod Preface Who this book is for What this book covers To get the most out of this book Get in touch Share your thoughts Building Your First Angular Application Technical requirements What is Angular? Why choose Angular? Cross-platform Tooling Onboarding Who uses Angular? Setting up the Angular CLI workspace Prerequisites Node.js npm Git Installing the Angular CLI CLI commands Creating a new project Structure of an Angular application Components Modules Template syntax VS Code tooling Angular Language Service Angular Snippets Nx Console Material icon theme EditorConfig Angular Evergreen Rename Angular Component Summary Introduction to TypeScript The history of TypeScript The benefits of TypeScript Introducing TypeScript resources The official website The official wiki documentation Types String Declaring variables The let keyword The const keyword Number Boolean Array Dynamic typing with no type Custom types Enum Void Type inference Functions, lambdas, and execution flow Annotating types in functions Function parameters in TypeScript Optional parameters Default parameters Rest parameters Function overloading Arrow functions Common TypeScript features Spread parameter Template strings Generics Optional chaining Nullish coalescing Classes, interfaces, and inheritance Anatomy of a class Constructor parameters with accessors Interfaces Class inheritance Decorators Class decorators Extending a class decorator Property decorators Method decorators Parameter decorator Advanced types Partial Record Union Modules Summary Join our community on Discord Organizing Application into Modules Technical requirements Introducing Angular modules Creating our first module Group application features into modules Add a module in the main module Exposing feature modules Organizing modules by type Leveraging Angular built-in modules Summary Enabling User Experience with Components Technical requirements Creating our first component The structure of an Angular component Registering components with modules Creating standalone components Interacting with the template Loading the component template Displaying data from the component class Styling the component Getting data from the template Component inter-communication Passing data using an input binding Listening for events using an output binding Emitting data through custom events Local reference variables in templates Encapsulating CSS styling Deciding on a change detection strategy Introducing the component lifecycle Performing component initialization Cleaning up component resources Detecting input binding changes Accessing child components Summary Join our community on Discord Enrich Applications Using Pipes and Directives Technical requirements Introducing directives Transforming elements using directives Displaying data conditionally Iterating through data Switching through templates Manipulating data with pipes Building custom pipes Sorting data using pipes Change detection with pipes Creating standalone pipes Building custom directives Displaying dynamic data Property binding and responding to events Creating components dynamically Toggling templates dynamically Creating standalone directives Summary Managing Complex Tasks with Services Technical requirements Introducing Angular DI Creating our first Angular service Providing dependencies across the application Injecting services in the component tree Sharing dependencies through components Root and component injectors Sandboxing components with multiple instances Restricting DI down the component tree Restricting provider lookup Overriding providers in the injector hierarchy Overriding service implementation Providing services conditionally Transforming objects in Angular services Summary Join our community on Discord Being Reactive Using Observables and RxJS Technical requirements Strategies for handling asynchronous information Shifting from callback hell to promises Observables in a nutshell Reactive programming in Angular The RxJS library Creating observables Transforming observables Higher-order observables Subscribing to observables Unsubscribing from observables Destroying a component Using the async pipe Summary Communicating with Data Services over HTTP Technical requirements Communicating data over HTTP Introducing the Angular HTTP client Setting up a backend API Handling CRUD data in Angular Fetching data through HTTP Modifying data through HTTP Adding new products Updating product price Removing a product Authentication and authorization with HTTP Authenticating with backend API Authorizing user access Authorizing HTTP requests Summary Join our community on Discord Navigating through Application with Routing Technical requirements Introducing the Angular router Specifying a base path Importing the router module Configuring the router Rendering components Creating an Angular application with routing Scaffolding an Angular application with routing Configuring routing in our application Creating feature routing modules Handling unknown route paths Setting a default path Navigating imperatively to a route Decorating router links with styling Passing parameters to routes Building a detail page using route parameters Reusing components using child routes Taking a snapshot of route parameters Filtering data using query parameters Enhancing navigation with advanced features Controlling route access Preventing navigation away from a route Prefetching route data Lazy-loading routes Protecting a lazy-loaded module Lazy loading components Summary Collecting User Data with Forms Technical requirements Introducing forms to web apps Data binding with template-driven forms Using reactive patterns in Angular forms Interacting with reactive forms Providing form status feedback Creating nesting form hierarchies Creating elegant reactive forms Validating controls in a reactive way Building a custom validator Modifying forms dynamically Manipulating form data Watching state changes and being reactive Summary Join our community on Discord Introduction to Angular Material Technical requirements Introducing Material Design Introducing Angular Material Adding Angular Material to your application Adding Angular Material controls Theming Angular Material components Adding core UI controls Buttons Form controls Input Autocomplete Select Checkbox Date picker Navigation Layout List Grid list Popups and modal dialogs Creating a simple dialog Configuring a dialog Getting data back from a dialog Data table Table Sort table Pagination Integration controls Introducing the Angular CDK Clipboard Drag and drop Summary Unit Test an Angular Application Technical requirements Why do we need tests? The anatomy of a unit test Introducing unit tests in Angular Testing components Testing with dependencies Replacing the dependency with a stub Spying on the dependency method Testing asynchronous services Testing with inputs and outputs Testing with a component harness Testing services Testing a synchronous method Testing an asynchronous method Testing services with dependencies Testing pipes Testing directives Testing forms Summary Join our community on Discord Bringing an Application to Production Technical requirements Building an Angular application Building for different environments Building for the window object Limiting the application bundle size Optimizing the application bundle Deploying an Angular application Summary Handling Errors and Application Debugging Technical requirements Handling application errors Catching HTTP request errors Creating a global error handler Responding to 401 Unauthorized error Demystifying framework errors Debugging Angular applications Using the Console API Adding breakpoints in source code Using Angular DevTools Summary Join our community on Discord Other Books You May Enjoy Index
How to download source code?
go to link 1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Learning Angular: A no-nonsense guide to building web applications with Angular, 4th 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 Ordering Tramadol Online AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.