Sharing Top Content from the Angular-sphere.
Browsing Tag

Pipe

Refactoring to Angular Pipes

This post explores how encapsulating this mapping logic in its own UI-based wrapper, a pipe, reduces component complexity in two ways.When mapping in the component, each component is responsible for mapping this date into the correct…

Exploring Composition in Javascript

After because we evaluate the functions from right to left, from the inside to the outside: The output of the precedent function becomes the input of the next.One function takes the text and return words in lowercase.The problem is: our…

The new Angular HttpClient API – Angular In Depth

We can do:Rather than:However if you're still interested in the whole Response object you can observe for it:// HttpClientthis.http.get('…', { observe: 'response' });Query parametersOne thing that might not be as intuitive is the way that…

New project taps Node.js for microservices API gateway

Built on the Express web application framework for Node.js, the Express Gateway routes requests to services using Node.js and Express middleware.Express Gateway offers centralized configuration, API consumer and credentials management, and…

New project taps Node.js for microservices API gateway

Built on the Express web application framework for Node.js, the Express Gateway routes requests to services using Node.js and Express middleware.Express Gateway offers centralized configuration, API consumer and credentials management, and…

Tackling State – Angular

So let’s start with that.Our application’s state is just a array of todos and a filter defining which todos to display.ActionsOur application will support the following three actions: AddTodoAction, ToggleTodoAction, and…

Node.js 8 brings sanity to native module dependencies

Node.js, the popular server-side JavaScript platform, has been upgraded with improvements related to the runtime, buffer security, URL parsing, and preserving dependencies on native modules across major Node.js upgrades.On the module…