New codingmarks added in the 12th week of 2018


Octocat **Promotion** - Efficiently manage your coding bookmarks, aka #codingmarks, on www.codingmarks.org and share your hidden gems with the world. They are published weekly on Github. You can help us build THE programming-resources location - Star


New codingmarks added in the 12th week of 2018. Hot topics include:

angular

Insider’s guide into interceptors and HttpClient mechanics in Angular

The documentation for the interceptors is pretty good and shows how to write and register an interceptor. Here I’ll dig deeper into internal mechanics of the HtppClient service and interceptors in particular. I believe this knowledge is necessary to make advanced usage of the feature. After reading the article you’ll be able to easily understand workflows like caching and we’ll be able to effectively implement complex request/response manipulation scenarios.


RxJS: Understanding Lettable Operators – Angular In Depth

  • published on:  2017-09-26
  • tags:   angular

Lettable operators offer a new way of composing observable chains and they have advantages for both application developers and library authors.

Lettable operators are a higher-order functions. Lettable operators return functions that receive and return observables; and those functions can be passed to the let operator.


Angular’s NgIf, Else, Then - Explained

  • published on:  2018-01-11
  • tags:   angular

Using the ngIf directive allows us to simply toggle content based on a conditional. But is it as simple as we think? Not quite, the directive has a heap of helpful syntaxes that can help us deal with conditionals far better, and also asynchronous objects coming from perhaps an Observable.

Let’s explore the ins and outs of ngIf, and how we can utilise (the right way) in our Angular apps.


arquillian

Test run modes - Arquillian - Project Documentation Editor

Arquillian comes with two run modes, in container and as client. in container is to test your application internals and as client is to test how your application is used by clients. Lets dive a bit deeper into the differences between the run modes and see how they effect your test execution and packaging.


Arquillian and Wildfly: Integration test tutorial

Arquillian is a testing platform for JavaEE applications. This tutorial creates an Arquillian test and executes it on the Wildfly container.


Introduction to Testing with Arquillian

Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.


debugging

Debugging JavaScript in Chrome - Help

This feature is only supported in the Ultimate edition.

IntelliJ IDEA provides a built-in debugger for your client-side JavaScript code that works with Chrome. The video and the instructions below walk you through the basic steps to get started with this debugger.


ecmascript-6

ES6 In Depth – Mozilla Hacks – the Web developer blog

Series of great articles about ES6


free-programming-books

Introduction RxJS - Javascript library for functional reactive programming.

Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.


http

Insider’s guide into interceptors and HttpClient mechanics in Angular

The documentation for the interceptors is pretty good and shows how to write and register an interceptor. Here I’ll dig deeper into internal mechanics of the HtppClient service and interceptors in particular. I believe this knowledge is necessary to make advanced usage of the feature. After reading the article you’ll be able to easily understand workflows like caching and we’ll be able to effectively implement complex request/response manipulation scenarios.


intellij

Debugging JavaScript in Chrome - Help

This feature is only supported in the Ultimate edition.

IntelliJ IDEA provides a built-in debugger for your client-side JavaScript code that works with Chrome. The video and the instructions below walk you through the basic steps to get started with this debugger.


java

Converting array to list in Java - Stack Overflow

Integer[] spam = new Integer[] { 1, 2, 3 };
Arrays.asList(spam);

Introduction to Testing with Arquillian

Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.


javaee

Arquillian and Wildfly: Integration test tutorial

Arquillian is a testing platform for JavaEE applications. This tutorial creates an Arquillian test and executes it on the Wildfly container.


Introduction to Testing with Arquillian

Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.


javascript

ES6 In Depth – Mozilla Hacks – the Web developer blog

Series of great articles about ES6


So how does JSONP really work? Some simple examples

Perhaps you know JSONP from a Javascript library like jQuery but aren’t sure exactly how it works. Here are some simple JSONP examples to show you how.


SheetJS - Home

Parser and writer for various spreadsheet formats. Pure-JS cleanroom implementation from official specifications, related documents, and test files. Emphasis on parsing and writing robustness, cross-format feature compatibility with a unified JS representation, and ES3/ES5 browser compatibility back to IE6.

This is the community version. We also offer a pro version with performance enhancements, additional features by request, and dedicated support.


Debugging JavaScript in Chrome - Help

This feature is only supported in the Ultimate edition.

IntelliJ IDEA provides a built-in debugger for your client-side JavaScript code that works with Chrome. The video and the instructions below walk you through the basic steps to get started with this debugger.


GitHub - wycats/javascript-decorators

Decorators make it possible to annotate and modify classes and properties at design time.

While ES5 object literals support arbitrary expressions in the value position, ES6 classes only support literal functions as values. Decorators restore the ability to run code at design time, while maintaining a declarative syntax.


Exploring EcmaScript Decorators – Google Developers – Medium

Iterators, generators and array comprehensions; The similarities between JavaScript and Python continue to increase over time and I for one could not be more excited. Today we’re going to talk about the next Pythonic proposal for ECMAScript — Decorators, by Yehuda Katz.


Introduction RxJS - Javascript library for functional reactive programming.

Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.


jsonp

So how does JSONP really work? Some simple examples

Perhaps you know JSONP from a Javascript library like jQuery but aren’t sure exactly how it works. Here are some simple JSONP examples to show you how.


maven

Calen Legaspi: Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category

TDD at the Unit Testing level is fairly straight-forward, since classes in unit testing either do not have complex dependencies, or you mock-out the dependencies with a mocking framework (ex. Mockito). However, TDD quickly becomes difficult when we get to Integration Testing. Integration Testing is basically testing a component with some or all of its dependencies instead of mocking them all out. Examples are tests the cut across multiple layers, tests that read or write to a database or file system, tests that require a Servlet container or EJB container to be up, tests that involve network communication, web services, etc.


npm

GitHub - peerigon/updtr: Update outdated npm modules with zero pain™

Based on npm outdated, updtr installs the latest version and runs npm test for each dependency. In case the test succeeds, updtr saves the new version number to your package.json. Otherwise, updtr rolls back the conflicting update.


rxjs

Introduction RxJS - Javascript library for functional reactive programming.

Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.


testing

Calen Legaspi: Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category

TDD at the Unit Testing level is fairly straight-forward, since classes in unit testing either do not have complex dependencies, or you mock-out the dependencies with a mocking framework (ex. Mockito). However, TDD quickly becomes difficult when we get to Integration Testing. Integration Testing is basically testing a component with some or all of its dependencies instead of mocking them all out. Examples are tests the cut across multiple layers, tests that read or write to a database or file system, tests that require a Servlet container or EJB container to be up, tests that involve network communication, web services, etc.


Test run modes - Arquillian - Project Documentation Editor

Arquillian comes with two run modes, in container and as client. in container is to test your application internals and as client is to test how your application is used by clients. Lets dive a bit deeper into the differences between the run modes and see how they effect your test execution and packaging.


Arquillian and Wildfly: Integration test tutorial

Arquillian is a testing platform for JavaEE applications. This tutorial creates an Arquillian test and executes it on the Wildfly container.


Introduction to Testing with Arquillian

Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.


unit-testing

Calen Legaspi: Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category

TDD at the Unit Testing level is fairly straight-forward, since classes in unit testing either do not have complex dependencies, or you mock-out the dependencies with a mocking framework (ex. Mockito). However, TDD quickly becomes difficult when we get to Integration Testing. Integration Testing is basically testing a component with some or all of its dependencies instead of mocking them all out. Examples are tests the cut across multiple layers, tests that read or write to a database or file system, tests that require a Servlet container or EJB container to be up, tests that involve network communication, web services, etc.


user-experience

Why marketers should care about mobile page speed - Think with Google

Discover how mobile page speed affects mobile site performance, what causes your site to underperform, and how to fix it.


Adrian Matei

Adrian Matei
Life force expressing itself as a coding capable human being

New codingmarks added in the 30th week of 2018

New codingmarks added in the 30th week of 2018. Keywords: angular, bash, cryptography, design-patterns, free-programming-books, git, rxjs and security Continue reading