Limit search to available items
279 results found. Sorted by relevance | date | title .
Book Cover
E-book
Author Noring, Christoffer

Title Architecting Angular Applications with Redux, RxJS, and NgRx : Learn to build Redux style high-performing applications with Angular 6
Published Birmingham : Packt Publishing, 2018

Copies

Description 1 online resource (355 pages)
Contents Cover; Title Page; Copyright and Credits; Packt Upsell; Foreword; Contributors; Table of Contents; Preface; Chapter 1: Quick Look Back at Data Services for Simple Apps; Model-View-Controller -- the pattern we all know; Cohesion and coupling -- establishing a common language; Explaining the components of MVC; The model; The view; The controller; Interactions -- the behavior between the components; MVC summary; An MVC flow in Angular; The model; The component -- a controller and a building block; First responder to a route; Used as a building block; Components from an architectural standpoint
NgModule -- our new facade (and some other bits)Using ES2015 modules; Consuming a module; An Angular example; Multiple exports; The default import/export; Renaming imports; The service; Service without dependencies; Service with dependencies; Dependency Injection; Dependency Injection in Angular using providers; Overriding an existing construct; Overriding at runtime; Overriding constants; Resolving your dependencies with @Injectable; Fetching and persisting data with HTTP -- introducing services with Observables; Fetching data with the HTTP service; Summary
Chapter 2: 1.21 Gigawatt -- Flux Pattern ExplainedCore concepts overview; A uniform data flow; Action -- capture the intent; Dispatcher -- the spider in the web; Listening to the dispatcher; The store -- managing state, data retrieval, and callbacks; The view; Demoing a uniform data flow; Creating a selection view; Adding the dispatcher; Adding the store; Adding a selected view; Running the demo; Adding more actions to our flow; Cleaning up the view; Cleaning up the store; Adding EventEmitter; Adding to and cleaning up the register method; Further improvements; Adding immutability; Summarizing
Adding AJAX callsAn even bigger solution; Summary; Chapter 3: Asynchronous Programming; The callback pattern; The callback pattern on the web; The callback pattern in Node.js; Problems with structuring async code -- callback hell; Promises; Thenables; Handling rejected promises; Chaining -- dealing with several promises; Asynchronous libraries; Async library; async.map(); async.parallel(); async.series(); Async/await; Summary; Chapter 4: Functional Reactive Programming; Functional programming versus imperative programming; Imperative programming versus declarative programming
First-class higher-order functionsPure functions; Recursion; No more loops; Reoccurring pattern; Summarise; Count; Width; Asynchronous data streams; Comparing lists to async streams -- preparing for RxJS; Combining the functional programming paradigm with streams; Projection; Filtering; Combining mindsets; Summary; Chapter 5: RxJS Basics; Observer pattern; RxJS core concepts; Observable and Observer; Producer; Observable error and completion; Operator; Creating Observables; Creation operators; of(); interval(); from(); fromEvent(); bindCallback(); Cleanup; Subscriptions
Summary Managing the state of large-scale web applications is a highly challenging task with the need to align different components, backends, and web workers harmoniously. When it comes to Angular, you can use NgRx, which combines the simplicity of Redux with the reactive programming power of RxJS to build your application architecture, making your ..
Notes Creating a core implementation of RxJS
Print version record
Subject Computer programming.
computer programming.
Internet: general works.
Web programming.
Computers -- Web -- General.
Computers -- Web -- Web Programming.
Computers -- Web -- Site Design.
Computer programming
Form Electronic book
ISBN 9781787121751
1787121755
1787122409
9781787122406