Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Jeremy Wilken

Rating No ratings yet

Angular in Action teaches you everything you need to build production-ready Angular applications.Thoroughly practical and packed with tricks and tips, this hands-on tutorial is perfect for web devs ready to build web applications that can handle whatever you throw at them. About the Technology Angular makes it easy to deliver amazing web apps. This powerful JavaScript platform provides the tooling to man- age your project, libraries to help handle most common tasks, and a rich ecosystem full of third-party capabilities to add as needed. Built with developer productivity in mind, Angular boosts your efficiency with a modern component architecture, well-constructed APIs, and a rich community. About the Book Angular in Action teaches you everything you need to build production-ready Angular applications. You'll start coding immediately, as you move from the basics to advanced techniques like testing, dependency injection, and performance tuning. Along the way, you'll take advantage of TypeScript and ES2015 features to write clear, well-architected code. Thoroughly practical and packed with tricks and tips, this hands-on tutorial is perfect for web devs ready to build web applications that can handle whatever you throw at them. What's Inside • Spinning up your first Angular application • A complete tour of Angular's features • Comprehensive example projects • Testing and debugging • Managing large applications About the Reader Written for web developers comfortable with JavaScript, HTML, and CSS. About the Author Jeremy Wilken is a Google Developer Expert in Angular, Web Technologies, and Google Assistant. He has many years of experience building web applications and libraries for eBay, Teradata, and VMware.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on guide that takes you from spinning up your first Angular project to building production-ready applications with testing, dependency injection, and performance tuning. Best for web developers already comfortable with JavaScript, HTML, and CSS who want to learn Angular by building real examples. 【Book Arc】 - **Opening (~0%–10%)**: Frames Angular as a full development platform rather than just a framework, covering its tooling, component architecture, and ecosystem, and sets up the book's experiential, code-along approach. - **Early (~10%–35%)**: Establishes the conceptual foundations — components, modules, TypeScript's role, and Angular's rendering and cross-platform capabilities — before any real project work begins. - **Middle (~35%–50%)**: Builds a first complete application (a stock tracker) using the CLI, walking through scaffolding, services, data loading from an API, interpolation, pipes, and routing. - **Late (~50%–85%)**: Moves into advanced techniques the book advertises — dependency injection, testing, debugging, and managing larger applications (excerpts do not cover these chapters in detail). - **Ending (~85%–100%)**: Consolidates toward production readiness and performance tuning, though the excerpts do not cover the closing chapters. 【Key Takeaways】 - **Angular is a platform, not just a framework** (Early): its tooling, UI libraries, and rendering design extend beyond the browser to mobile and desktop, which shapes how you should think about structuring projects. - **Components are the central building block** (Early): custom elements, shadow DOM, templates, and imports combine into a component architecture that underpins everything else in the book. - **TypeScript is effectively required in practice** (Early): while technically optional, many Angular features don't work without it, and it catches errors before runtime and improves editor support. - **The CLI scaffolds the whole project structure** (Middle): understanding the roles of `src` files — `app`, `main.ts`, `index.html`, `environments`, `polyfills.ts` — is the entry point to every Angular app. - **Load data in lifecycle hooks, not the constructor** (Middle): the constructor fires too early in rendering, so `ngOnInit` is where you call services and subscribe to observables. - **Templates combine interpolation, pipes, and structural directives** (Middle): `{{ }}`, the `|` pipe syntax, `*ngIf`, and `*ngFor` are the everyday tools for rendering dynamic data. - **Routing is wired through modules and a router outlet** (Middle): registering routes in the module's imports and placing `<router-outlet>` defines where views render. - **The book is deliberately experiential** (Opening): each concept is paired with a build-it-yourself example, and the author recommends coding along rather than reading passively. 【Reading Tips】 - Skim early sections covering material you already know, then slow down for the more complex capabilities later in each chapter — the author explicitly suggests this rhythm. - Code along with the examples rather than downloading the finished code; retention and understanding improve substantially when you build it yourself. - Watch the diagrams — they're a fast way to check whether you actually understand a concept before moving on. - Keep the GitHub repo handy for breaking changes that landed after publication, and use Stack Overflow for questions beyond the chapter examples. - Ensure you have a recent NodeJS install and a modern browser (Chrome recommended) before starting Chapter 1. 【Coverage Limits】 The excerpts concentrate heavily on the opening and early-middle chapters (platform overview, TypeScript, CLI scaffolding, and the first stock-tracker app). The advertised advanced material — testing, dependency injection, debugging, large-application management, and performance tuning — is named but not detailed in the source excerpts.
Page 12
, Angular has influenced a generation of web tech- nologies. Even developers who haven’t used it have benefitted from its existence, as it helped popularize...
View in text
Excerpt 2
t you can share a lot of code between your Angular applica- tions, even if some are designed to build mobile apps and others are web applications. This is pa...
View in text
Excerpt 3
with many key elements such as tooling, UI libraries, and testing built in or easily incorporated into your application projects. ¡ Applications are essentia...
View in text
Excerpt 4
oard/dashboard.component.html file and replace it with the contents of the following listing. Listing 2.11 Dashboard component template <div class="mdl-grid"...
View in text
Excerpt 5
guration option. In this example, you’re passing a configu- ration option that formats the date according to the format of 'shortDate', which I’ll cover shor...
View in text
Excerpt 6
OnDestroy hooks are the most commonly used lifecycle hooks. The DoCheck, AfterContentChecked, and AfterViewChecked hooks are most useful to keep track of log...
View in text
Excerpt 7
s the method to check if the value exceeds 70% utilization We want to use the attribute selector for this component as well, so update the selector according...
View in text
Excerpt 8
o your components, then encapsulation may not be necessary. ¡ Global styles bleed in —The global background style for a header element is applied because of...
View in text
Tags
AI categories
Web TechnologyTypeScriptFramework
ISBN: 1617293318
Publish Year: 2018
Language: English
Pages: 320
File Format: PDF
File Size: 6.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…