Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

AngularJS: Up and Running

Learning Angular, Step by Step

Paperback Engels 2018 1e druk 9781491999837
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

If you’re familiar with JavaScript, this hands-on guide will quickly get you up to speed on the Angular framework for building high-performance web-based desktop, mobile, and single-page applications. Initially dubbed Angular 2, this version is a complete rewrite from the same team that built the initial version of AngularJS. Developers familiar with that earlier version will also find this book to be a valuable resource.

Author Shyam Seshadri takes you step-by-step through Angular’s core building blocks in detail. You’ll start by creating a simple Angular application before diving into Angular components, services, server calls, routing, and production requirements. By the end of the book, you’ll be ready to use Angular for your own applications.

- Set up your development environment to build Angular applications rapidly
- Use Angular directives to construct common functionality for your application
- Create and test Angular components for building effective user interfaces
- Manage user input by building template-driven and reactive forms
- Understand when to use built-in Angular services and when and how to create your own
- Make HTTP calls and handle use cases that surface when working with servers
- Use Angular’s routing module to encapsulate various pages and pieces using a different route
- Build an Angular application for production and learn how to deploy a performant Angular application

Specificaties

ISBN13:9781491999837
Taal:Engels
Bindwijze:paperback
Aantal pagina's:292
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:3-7-2018
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Shyam Seshadri

Currently based out of India, Shyam Seshadri is the founder and CTO of ReStok Ordering Solutions. Before this, he has spent time at both Google and Amazon as a Software Engineer & Architect, and headed the engineering at Hopscotch, an e-commerce startup out of India. He currently spends his time working on interesting product ideas and chasing after the holy grail of one code base across all native experiences, and tinkering with Angular & Nativescript. He also conducts training sessions internationally on AngularJ& Node, and provides development and architecture consulting on Angular, Node and Mobile applications.

Andere boeken door Shyam Seshadri

Inhoudsopgave

Introduction
Who Should Read This Book
Why I Wrote This Book
A Word on Web Application Development Today
Navigating This Book
Online Resources
Conventions Used in This Book
Using Code Examples
O’Reilly Safari
How to Contact Us
Acknowledgments

1. Introducing Angular
Why Angular
What This Book Will Not Cover
Getting Started with Your Development Environment
Node.js
TypeScript
Angular CLI
Getting the Codebase
Conclusion

2. Hello Angular
Starting Your First Angular Project
Understanding the Angular CLI
Running the Application
Basics of an Angular Application
Root HTML—index.html
The Entry Point—main.ts
Main Module—app.module.ts
Root Component—AppComponent
Creating a Component
Steps in Creating New Components
Using Our New Component
Understanding Data Binding
Understanding Property Binding
Understanding Event Binding
Using Models for Cleaner Code
Conclusion
Exercise

3. Useful Built-In Angular Directives
Directives and Components
Built-In Attribute Directives
NgClass
NgStyle
Alternative Class and Style Binding Syntax
Built-In Structural Directives
NgIf
NgFor
NgSwitch
Multiple Sibling Structural Directives
Conclusion
Exercise

4. Understanding and Using Angular Components
Components—A Recap
Defining a Component
Selector
Template
Styles
Style Encapsulation
Others
Components and Modules
Input and Output
Input
Output
Change Detection
Component Lifecycle
Interfaces and Functions
View Projection
Conclusion
Exercise

5. Testing Angular Components
Why Unit Test?
Testing and Angular
The Test Setup
Karma Config
test.ts
Writing Unit Tests
An Isolated Unit Test
Running the Tests
Writing an Angular-Aware Unit Test
Testing Component Interactions
Debugging
Conclusion
Exercise

6. Working with Template-Driven Forms
Template-Driven Forms
Setting Up Forms
Alternative to ngModel—Event and Property Binding
ngModel
A Complete Form
Control State
Control Validity
Working with FormGroups
Conclusion
Exercise

7. Working with Reactive Forms
Reactive Forms
Understanding the Differences
Using Reactive Forms
Form Controls
Form Groups
Form Builders
Form Data
Control State, Validity, and Error Messages
Form and Data Model
FormArrays
Conclusion
Exercise

8. Angular Services
What Are Angular Services?
Creating Our Own Angular Service
Digging into the Example
An Introduction to Dependency Injection
Angular and Dependency Injection
RxJS and Observables: Moving to Asynchronous Operations
Conclusion
Exercise

9. Making HTTP Calls in Angular
Introducing HttpClient
Server Setup
Using HttpClientModule
Making HTTP GET/POST Calls
Advanced HTTP
Options—Headers/Params
Options—Observe/Response Type
Interceptors
Advanced Observables
Conclusion
Exercise

10. Unit Testing Services
How to Unit Test Services
Testing Components with a Service Dependency
Testing Components with a Real Service
Testing Components with a Mock Service
Testing Components with a Fake Service
Unit Testing Async
Unit Testing HTTP
Conclusion
Exercise

11. Routing in Angular
Setting Up Angular Routing
Server Setup
Starting Codebase
Importing the Router Module
Displaying the Route Contents
Navigating Within the Application
Wildcards and Defaults
Common Routing Requirements
Required Route Params
Navigating in Your Application
Optional Route Params
Route Guards
Authenticated-Only Routes
Preventing Unload
Preloading Data Using Resolve
Conclusion
Exercise

12. Productionizing an Angular App
Building for Production
Production Build
Ahead-of-Time (AOT) Compilation and Build Optimizer
Base Href
Deploying an Angular Application
Other Concerns
Caching
API/Server Calls and CORS
Different Environments
Handling Deep-Linking
Lazy Loading
Server-Side Rendering and Handling SEO
Conclusion

Index

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        AngularJS: Up and Running