Year: 2017
-
Simplifying function expressions and the function statement in JavaScript
Read full article on the Infragistics blog In JavaScript, a function can be created in three possible ways: Function as an expression Function as a statement Arrow functions In this post, we will learn about function expressions and the function statement. Consider the following code: This file contains bidirectional Unicode text that may be interpreted…
-
What are the Call and Apply Methods in JavaScript
Read full article on the Infragistics blog In JavaScript, the apply() and call() methods execute a function in the context (scope) of the first argument you pass to them. Let’s take a look at them in action to learn more. Say that you have an object person as shown below: This file contains bidirectional Unicode text that…
-
Four Ways to Create Objects in JavaScript
In JavaScript, there are four methods to use to create an object: Object literals New operator or constructor Object.create method Class In this post, we will learn each of these methods. Object literals An object literal, also called an object initializer, is a comma-separated set of paired names and values. You can create an object…
-
What are Template Literals in JavaScript
Read full article on the Infragistics blog In ES6, two types of literals were introduced: Template Literals for string concatenation and expression embedding in a string Tagged Template Literals to tag the Template Literal in a function so the literal can be evaluated in the function Let’s assume that you need to do the string…
-
What are @HostBinding() and @HostListener() in Angular?
Read full article on the Infragistics blog To understand @HostListener and @HostBinding, you should have basic knowledge about directives in Angular. There are three types of directives in Angular: Component Attribute Directive Structural Directive The basic difference between a component and a directive is that a component has a template, whereas an attribute or structural…
-
How to Create Your First Angular Reactive Form
Read full article on the Infragistics blog Out of the box, Angular provides us with two types of forms: Template Driven Forms Reactive Forms In Template Driven Forms, you create controls on the component template and bind data using ngModel. With these, you do not create controls, form objects, or write code to work with…
-
geek97 hosted Angular workshop for girls students
I am very pleased to share that on 16 November 2017, geek97 hosted a free workshop on Angular for Girls Students of Indira Gandhi Delhi technical University for Women, Delhi. The workshop was attended by around 40 energetic and super talented girls from Computer Science Engineering and MCA department. Every student were writing codes and…
-
How to write Unit Tests for a .NET Core Application
Read full article on the Infragistics blog Writing unit tests is a good software engineering practice. In this article, we will learn how to create a C# .NET Core application while adhering to the Test Driven Development (TDD) approach. In the TDD approach, before implementing a functionality, you write a unit test for it. For…
-
Simplifying function expressions and the function statement
Read full article on the Infragistics blog In JavaScript, a function can be created in three possible ways: Function as an expression Function as a statement Arrow functions In this post, we will learn about function expressions and the function statement. Consider the following code: This file contains bidirectional Unicode text that may be interpreted…
-
How to Write Your First .NET Core 2.0 Application
Read full article on the Infragistics blog here Microsoft .NET Core is a cross-platform open source software development framework that can be used to build applications for mobile, Windows, and the web. You can learn more about .NET Core here, but in this blog post, we’ll walk you through how to create and publish a…