最新章節
- Summary
- Memento pattern
- Factory pattern
- Prototype and reusable pool
- Singleton and Dependency Injection
- Angular is MVC
品牌:中圖公司
上架時間:2021-07-15 16:57:26
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Summary 更新時間:2021-07-15 17:06:24
- Memento pattern
- Factory pattern
- Prototype and reusable pool
- Singleton and Dependency Injection
- Angular is MVC
- MVC limitations for the frontend
- MVC at large
- Model-View-Controller (MVC)
- Design Patterns in Angular
- Summary
- Writing E2E tests using Protractor - Advanced
- Writing E2E tests using Protractor
- Protractor - First steps
- Exploring the Protractor API
- Some methods available to select element(s)
- Protractor and DOM
- Protractor - A quick overview
- Introduction to Protractor framework
- Testing Angular services - Mocking backend services
- Testing Angular services
- Example - Writing test scripts with change detection
- TestBed
- Testing Angular components - Advanced
- Testing Angular components with Jasmine
- Testing Angular components with Jasmine
- Angular CLI and Jasmine framework - First test
- Commonly used methods in Jasmine
- The Jasmine framework - Global methods we can use
- Introduction to Jasmine framework
- Understanding and setting up Angular CLI for testing
- Concepts in testing
- Testing Angular Apps Using Jasmine and Protractor Frameworks
- Summary
- Rating
- Progress bar
- Tooltip
- Datepicker
- Alert
- Accordion
- Using Bootstrap directives
- Understanding the grid system
- Installing Bootstrap
- Integrating Bootstrap with Angular Application
- Summary
- Animate collapse menu
- Using keyframes - Sequence of styles
- One more example - Angular animations
- Animating page transitions
- Transitions
- States
- Trigger
- Angular animation - Specific functions
- Installing the Angular animations library
- Introduction to Angular animations
- Handling Angular Animation
- Summary
- Using @Inject provide and useValue
- Provider classes with dependencies
- Registering providers inside the component
- Registering providers
- Creating an injectable
- Overview - Hierarchical components and DI
- Understanding hierarchical DI
- Understanding provider classes
- Dependency Injection - Introduction
- Applications without Dependency Injection
- Applying Dependency Injection
- Summary
- Using a Promise in a service
- What is a Promise?
- Creating an asynchronous service
- Consuming the service
- Implementing services
- Accessing data from components using services
- Creating a service
- Why use a service or factory?
- Implementing Angular Services
- Summary
- Impure Pipes
- Pure Pipes
- Pure and Impure Pipes
- Creating custom pipes
- Chaining pipes
- Parameterizing pipes
- async Pipe
- SlicePipe
- JSON Pipe
- LowerCasePipe and UpperCasePipe
- CurrencyPipe
- DecimalPipe
- DatePipe
- Built-in Pipes
- Defining a pipe
- Angular Pipes - An overview
- Implementing Angular Pipes
- Summary
- Theming
- Side navigation drawers
- Dialogs
- Toolbars
- Menu
- Buttons
- Material icons
- Responsive layout
- Installing the package
- Material Design in Angular
- Summary
- Keeping things neat (extra credit)
- Two-way Data Binding with ngModel
- Custom validation
- Adding validations
- Using FormBuilder
- Reactive forms
- Getting started
- Advanced Forms in Angular
- Summary
- Angular Two-way Data Binding
- One-way Data Binding - View template to data source
- One-way Data Binding - Data source to view
- Angular Data Binding
- Bindings in the template
- Implementing directives inside templates
- Attaching events to views in templates
- Template expressions in Angular
- Interpolation in templates
- Using templateURL to include a template
- Using inline Template Syntax
- Various ways to include Template Syntax
- Learning about Template Syntax
- Template and Data Binding Syntax
- Summary
- Promises
- Understanding the implementation
- Implementation
- Observing HTTP responses
- TypeScript Observable with parameters
- TypeScript Observable
- Observer patterns
- Asynchronous Programming Using Observables
- Summary
- Advantages of ChangeDetectionStrategy - OnPush
- ChangeDetectionStrategy - OnPush
- ChangeDetectionStrategy - Default
- Change detection strategy
- Change detection - Angular and ZoneJS
- Implementing change detection in Angular
- Creating custom Structural Directives
- Creating custom Attribute Directives
- Angular CLI - generating the directives
- Creating custom directives - Structural and Attribute Directives
- Built-in Attribute Directives
- Attribute Directives
- ngSwitch directive
- ngIf directive
- ngFor directive
- Structural Directives
- Component Directives
- Angular Directives
- Creating Directives and Implementing Change Detection
- Summary
- Demo application routing and navigation
- Integrating all the components together
- Custom component routes with inner child routes
- Custom component routes and child routes
- Route Guards
- Handling the error state - wildcard route
- About router LocationStrategy
- Building blocks of router
- Importing and configuring the router
- Implementing Angular Routing and Navigation
- Summary
- Using services with components
- Injecting child components
- Template reference variables
- Referencing child components from a parent component
- Communicating and sharing data between components
- Component life cycle
- Defining child components
- A basic root component
- Components 101
- Working with Components
- Summary
- Updating Angular CLI
- Running tests for your application
- Creating builds targeting various environments
- Pipes
- Generating directives and pipes
- Generating services
- Routes
- Generating components and routes
- Generating code for a new application
- Installing and setting up Angular CLI
- Introducing Angular CLI
- Using Angular CLI to Generate Angular Apps with Best Practices
- Summary
- Adding the Angular router
- Upgrading your application component
- Upgrading application services
- Bootstrapping your application
- Creating the AppModule
- Installing Angular packages
- JavaScript to TypeScript
- Roadmap from AngularJS to Angular
- Components migration
- Injecting Angular dependencies to AngularJS
- Injecting AngularJS dependencies to Angular
- Incremental upgrading using UpgradeAdapter
- Rules for incremental upgrade to Angular
- Strategies to upgrade to Angular
- Benefits of upgrading to Angular
- Controllers and components in templates
- Binding click event
- Handling the CSS classes
- Angular app directives
- Local variables in templates
- Filters and pipes in templates
- Local variables and bindings in templates
- Syntax difference between Angular and AngularJS
- Migration process
- Migrating AngularJS App to Angular App
- Summary
- Building a simple application
- Parameter decorators
- Property decorators
- Accessor decorators
- Method decorators
- Class decorators
- Decorators
- Generic classes
- Generic interfaces
- Generics
- Rest parameter
- Optional and default parameters
- Functions
- Modules
- Namespaces
- Modules
- Static properties
- Accessors
- Private and public modifiers
- Inheritance in TypeScript
- Inheritance
- Hybrid type interfaces
- Extending interfaces
- Class type interfaces
- Array type interfaces
- Function type interfaces
- Optional properties using an interface
- Interfaces
- Classes
- Void
- Any
- Enum
- Array
- String
- Boolean type
- Number type
- Basic types
- Basics of TypeScript
- Dependency Injection
- Services
- Directives
- Data Binding
- Metadata
- Templates
- Components
- NgModules
- Angular architecture
- Architectural Overview and Building a Simple App in Angular
- Questions
- Piracy
- Errata
- Downloading the color images of this book
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Reviewers
- About the Authors
- Credits
- Expert Angular
- Copyright
- Title Page
- cover
- cover
- Title Page
- Copyright
- Expert Angular
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Downloading the color images of this book
- Errata
- Piracy
- Questions
- Architectural Overview and Building a Simple App in Angular
- Angular architecture
- NgModules
- Components
- Templates
- Metadata
- Data Binding
- Directives
- Services
- Dependency Injection
- Basics of TypeScript
- Basic types
- Number type
- Boolean type
- String
- Array
- Enum
- Any
- Void
- Classes
- Interfaces
- Optional properties using an interface
- Function type interfaces
- Array type interfaces
- Class type interfaces
- Extending interfaces
- Hybrid type interfaces
- Inheritance
- Inheritance in TypeScript
- Private and public modifiers
- Accessors
- Static properties
- Modules
- Namespaces
- Modules
- Functions
- Optional and default parameters
- Rest parameter
- Generics
- Generic interfaces
- Generic classes
- Decorators
- Class decorators
- Method decorators
- Accessor decorators
- Property decorators
- Parameter decorators
- Building a simple application
- Summary
- Migrating AngularJS App to Angular App
- Migration process
- Syntax difference between Angular and AngularJS
- Local variables and bindings in templates
- Filters and pipes in templates
- Local variables in templates
- Angular app directives
- Handling the CSS classes
- Binding click event
- Controllers and components in templates
- Benefits of upgrading to Angular
- Strategies to upgrade to Angular
- Rules for incremental upgrade to Angular
- Incremental upgrading using UpgradeAdapter
- Injecting AngularJS dependencies to Angular
- Injecting Angular dependencies to AngularJS
- Components migration
- Roadmap from AngularJS to Angular
- JavaScript to TypeScript
- Installing Angular packages
- Creating the AppModule
- Bootstrapping your application
- Upgrading application services
- Upgrading your application component
- Adding the Angular router
- Summary
- Using Angular CLI to Generate Angular Apps with Best Practices
- Introducing Angular CLI
- Installing and setting up Angular CLI
- Generating code for a new application
- Generating components and routes
- Routes
- Generating services
- Generating directives and pipes
- Pipes
- Creating builds targeting various environments
- Running tests for your application
- Updating Angular CLI
- Summary
- Working with Components
- Components 101
- A basic root component
- Defining child components
- Component life cycle
- Communicating and sharing data between components
- Referencing child components from a parent component
- Template reference variables
- Injecting child components
- Using services with components
- Summary
- Implementing Angular Routing and Navigation
- Importing and configuring the router
- Building blocks of router
- About router LocationStrategy
- Handling the error state - wildcard route
- Route Guards
- Custom component routes and child routes
- Custom component routes with inner child routes
- Integrating all the components together
- Demo application routing and navigation
- Summary
- Creating Directives and Implementing Change Detection
- Angular Directives
- Component Directives
- Structural Directives
- ngFor directive
- ngIf directive
- ngSwitch directive
- Attribute Directives
- Built-in Attribute Directives
- Creating custom directives - Structural and Attribute Directives
- Angular CLI - generating the directives
- Creating custom Attribute Directives
- Creating custom Structural Directives
- Implementing change detection in Angular
- Change detection - Angular and ZoneJS
- Change detection strategy
- ChangeDetectionStrategy - Default
- ChangeDetectionStrategy - OnPush
- Advantages of ChangeDetectionStrategy - OnPush
- Summary
- Asynchronous Programming Using Observables
- Observer patterns
- TypeScript Observable
- TypeScript Observable with parameters
- Observing HTTP responses
- Implementation
- Understanding the implementation
- Promises
- Summary
- Template and Data Binding Syntax
- Learning about Template Syntax
- Various ways to include Template Syntax
- Using inline Template Syntax
- Using templateURL to include a template
- Interpolation in templates
- Template expressions in Angular
- Attaching events to views in templates
- Implementing directives inside templates
- Bindings in the template
- Angular Data Binding
- One-way Data Binding - Data source to view
- One-way Data Binding - View template to data source
- Angular Two-way Data Binding
- Summary
- Advanced Forms in Angular
- Getting started
- Reactive forms
- Using FormBuilder
- Adding validations
- Custom validation
- Two-way Data Binding with ngModel
- Keeping things neat (extra credit)
- Summary
- Material Design in Angular
- Installing the package
- Responsive layout
- Material icons
- Buttons
- Menu
- Toolbars
- Dialogs
- Side navigation drawers
- Theming
- Summary
- Implementing Angular Pipes
- Angular Pipes - An overview
- Defining a pipe
- Built-in Pipes
- DatePipe
- DecimalPipe
- CurrencyPipe
- LowerCasePipe and UpperCasePipe
- JSON Pipe
- SlicePipe
- async Pipe
- Parameterizing pipes
- Chaining pipes
- Creating custom pipes
- Pure and Impure Pipes
- Pure Pipes
- Impure Pipes
- Summary
- Implementing Angular Services
- Why use a service or factory?
- Creating a service
- Accessing data from components using services
- Implementing services
- Consuming the service
- Creating an asynchronous service
- What is a Promise?
- Using a Promise in a service
- Summary
- Applying Dependency Injection
- Applications without Dependency Injection
- Dependency Injection - Introduction
- Understanding provider classes
- Understanding hierarchical DI
- Overview - Hierarchical components and DI
- Creating an injectable
- Registering providers
- Registering providers inside the component
- Provider classes with dependencies
- Using @Inject provide and useValue
- Summary
- Handling Angular Animation
- Introduction to Angular animations
- Installing the Angular animations library
- Angular animation - Specific functions
- Trigger
- States
- Transitions
- Animating page transitions
- One more example - Angular animations
- Using keyframes - Sequence of styles
- Animate collapse menu
- Summary
- Integrating Bootstrap with Angular Application
- Installing Bootstrap
- Understanding the grid system
- Using Bootstrap directives
- Accordion
- Alert
- Datepicker
- Tooltip
- Progress bar
- Rating
- Summary
- Testing Angular Apps Using Jasmine and Protractor Frameworks
- Concepts in testing
- Understanding and setting up Angular CLI for testing
- Introduction to Jasmine framework
- The Jasmine framework - Global methods we can use
- Commonly used methods in Jasmine
- Angular CLI and Jasmine framework - First test
- Testing Angular components with Jasmine
- Testing Angular components with Jasmine
- Testing Angular components - Advanced
- TestBed
- Example - Writing test scripts with change detection
- Testing Angular services
- Testing Angular services - Mocking backend services
- Introduction to Protractor framework
- Protractor - A quick overview
- Protractor and DOM
- Some methods available to select element(s)
- Exploring the Protractor API
- Protractor - First steps
- Writing E2E tests using Protractor
- Writing E2E tests using Protractor - Advanced
- Summary
- Design Patterns in Angular
- Model-View-Controller (MVC)
- MVC at large
- MVC limitations for the frontend
- Angular is MVC
- Singleton and Dependency Injection
- Prototype and reusable pool
- Factory pattern
- Memento pattern
- Summary 更新時間:2021-07-15 17:06:24