Month: November 2018

Angular

Building Custom Directives in Angular

Building directives in Angular 2+ is not much different than building components. After all, components are just directives with a view attached. In fact, there are three kinds of directives in Angular: components, attribute directives and structural directives. Structural directives add or remove elements from the DOM. NgIf, ngFor and ngSwitch are examples of built-in […]

Angular

What Is a Linux Container?

A Linux container is an operating system-level virtualization technology that, unlike a virtual machine (VM), shares the host operating system kernel and makes use of the guest operating system libraries for providing required OS capabilities. Since there is no dedicated operating system, containers are more lightweight and start much faster than VMs. The history of […]

Angular

New in Java 11

The latest version of the Java Development Kit, Java 11, is out. Ever since JDK Beta made its debut back in 1995, there has been continuous development of the platform for this high-level, general-purpose programming language. The release of Java 11 followed Java 10 only by 6 months. This is in line with the proposal made by […]

Angular

Spring Getting Started Guides

Guides Whatever you’re building, these guides are designed to get productive as quickly as possible, using the latest Spring project releases and techniques as recommended by the Spring team. Getting Started Guides Designed to be completed in 15-30 minutes, these guides provide quick, hands-on instructions for building the “Hello World” of any development task with Spring. […]

Angular

What Is the Java Development Kit (JDK)?

The JDK stands for Java Development Kit used for developing Java applets and apps. It is basically a software development environment. JDK includes Java Runtime Environment (JRE), which happens to be a loader/interpreter, a compiler called (javac), a document generator (Javadoc), an archiver (jar), and other tools required in development. Loads code Verifies code Executes […]

Angular

How to Make a Java Class Serializable?

When you create a class, you may create an object for that particular class and once we execute/terminate the program, the object is destroyed by itself via the garbage collector thread. What happens if you want to call that class without re-creating the object? In those cases, what you do is use the serialization concept […]

Angular

Angular Material 2 Quick Reference

A reference for the Material Design components currently available in the Angular Material 2 project. Check out this post for a getting-started guide. Angular Material 2 is in active development, so this post will be updated over time to reflect changes or additions: Jump to: Buttons Button-toggle Cards Checkbox Grid-list Icon Input List Menu Progress-circle […]

Angular

Augury Chrome DevTools Extension for Angular

Augury is a Chrome DevTools extension that makes it easy to debug Angular 2+ apps. It’s developed and maintained by the folks from Rangle.io. Once installed, you’ll see a new tab in the DevTools for Augury. Here’s a few screenshots that show Augury in action, this particular example uses the Kitchen Sink sample app that […]

Angular

Component Interaction With Outputs in Angular

Outputs provide a mechanism for a child component to emit events up to its parent component. This post covers Angular 2 and up In the parent component’s template, define event bindings as part of the child component’s selector. A binding should point to a method defined in the parent component’s class that takes action on […]

Angular

Component Interaction With Inputs in Angular

Inputs provide a mechanism to allow a parent component to bind properties that a child component can have access to. The parent component pushes the properties to the child component. This post covers Angular 2 and up In the parent component’s template, simply define property bindings in the child’s selector. The binding should point to […]