توضیحاتی در مورد کتاب Accelerating Angular Development with Ivy: A practical guide to building faster and more testable Angular apps with the new Ivy engine
نام کتاب : Accelerating Angular Development with Ivy: A practical guide to building faster and more testable Angular apps with the new Ivy engine
عنوان ترجمه شده به فارسی : تسریع توسعه Angular با Ivy: راهنمای عملی برای ساختن برنامه های Angular سریعتر و قابل آزمایش تر با موتور جدید Ivy
سری :
نویسندگان : Jacob Andresen, Lars Gyrup Brink Nielsen
ناشر : Packt Publishing
سال نشر : 2021
تعداد صفحات : 243
ISBN (شابک) : 180020521X , 9781800205215
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 2 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Cover
Title Page
Copyright and Credits
Foreword
Contributors
Table of Contents
Preface
Chapter 1: Discovering New APIs and Language Syntax
Technical requirements
Modernizing your code with powerful language features
The optional chaining operator
The nullish coalescing operator
Handling nullish values with the new operators
Native private class members
Optimizing regional support with improved globalization APIs
Bundling localizations
Lazy loading locale data
Dynamically setting the dir attribute based on locale direction
Art direction using the directionality query
Enhancing tests with stronger types and new APIs
Resolving strongly typed dependencies with TestBed.inject
Stubbing custom Angular Material SVG icons with FakeMatIconRegistry
Summary
Chapter 2: Boosting Developer Productivity Through Tooling, Configuration, and Convenience
Technical requirements
Using predictable style bindings
Outputting faster and smaller bundles with AOT compilation
Taking advantage of strict mode and other new configurations
Strict mode
Angular compiler options
Enhancing our Angular testing experience
Expect error compiler annotation
Faster tests with AOT compilation
Leveling up our developer experience
Improved compilation errors
Strict template type checking
An even better update experience
Better IDE integration
Summary
Chapter 3: Introducing CSS Custom Properties and New Provider Scopes
Technical requirements
Using CSS Custom Properties with Angular
Discovering the any and platform provider scopes
The any provider scope
The platform provider scope
Summary
Chapter 4: Exploring Angular Components Features
Technical requirements
Angular YouTube Player
Getting started
Usage
API reference
Angular Google Maps components
Getting started
The GoogleMap component
The MapMarker component
The MapMarkerClusterer component
The MapInfoWindow component
The Clipboard API
The CdkCopyToClipboard directive
The Clipboard service
The PendingCopy class
Testing as a user with component harnesses
Harness environments and harness loaders
Component harnesses
Summary
Chapter 5: Using CSS Custom Properties
Technical requirements
Building a theme picker using custom CSS properties
Implementing the theme service
Controlling CSS Grid templates using custom CSS properties
Summary
Chapter 6: Using Angular Components
Understanding the Angular Academy application
Dividing the application into components
Including dependencies using modules
Retrieving data using services
Wiring up navigation
Showing course videos using the Angular YouTube Player
Finding your school using the Angular Google Maps component
Summary
Chapter 7: Component Harnesses
Using Angular Material\'s component harnesses
Creating a component harness
Summary
Chapter 8: Additional Provider Scopes
Revisiting the root provider scope
Using the any provider scope for a configurable ThemeService
Sharing information across application boundaries using the platform provider scope
Summary
Chapter 9: Debugging with the New Ivy Runtime APIs
Technical requirements
Introducing the new Ivy runtime API
Inspecting a component instance
Inspecting event listeners
DOM event listeners
Custom component event bindings
Inspecting an embedded view context
Summary
Chapter 10: Using the Angular Compatibility Compiler
Technical requirements
Introducing the Angular Compatibility Compiler
Using the Angular Compatibility Compiler
Angular Compatibility Compiler options
Improving the Angular Compatibility Compiler in your CI/CD workflow
Targeting a single application in a monorepo workspace
Summary
Chapter 11: Migrating Your Angular Application from View Engine to Ivy
Technical requirements
Learning the Angular update process
The Angular Update Guide
Managing Angular dependencies
Performing automated Angular Ivy migrations
Making the most of the ng update command
Reviewing automated Angular Ivy migrations
Performing manual Angular Ivy migrations
Managing initial navigation
Optimizing change detection by configuring NgZone
Improving unit test type safety with TestBed.inject
Summary
Chapter 12: Embracing Ahead-of-Time Compilation
Technical requirements
Using the ahead-of-time compiler for all development phases
Ahead-of-time compilation for builds
Ahead-of-time compilation for component templates
Ahead-of-time compilation for unit tests
Ahead-of-time compilation for the runtime
Dealing with the ahead-of-time compiler\'s limitations
Providing values using functions
Declaring metadata using functions
Using tagged template literals in component templates
Initializing metadata variables
Initializing asynchronous dependencies
Providing an asynchronous dependency with a static platform provider
Resolving an asynchronous dependency with an application initializer
Summary
Other Books You May Enjoy
Index