Category Archives: JavaScript

PJAX: Loading your website faster!


We all hate waiting for websites to load before we can start using or surfing it. Internet has a come a long way with great speeds to decrease this time, but this has just made the user more impatient. After … Continue reading

Posted in AJAX, JavaScript | 1 Comment

Getting started with Moment.js: Intro with examples.


I think date manipulation is most common process that every developer must deal in his career. There are so many tools available for Date Manipulation in JavaScript like datejs, date-fns and so many interesting library. Moment.js is one of them. … Continue reading

Posted in JavaScript, Scala | 1 Comment

Knolx: Introduction to ReactJs


Hi all, Knoldus has organized a 30 min session on 1st September 2017. The topic was “Introduction to React JS”. Many people have joined and enjoyed the session. I am going to share the slides here. Please let me know … Continue reading

Posted in JavaScript, React, ReactJS | Leave a comment

Testing HTTP services in Angular


Prerequisites : 1. Understanding of Angular. 2. Understanding of Component’s unit tests in Angular 3. Understanding of Karma and Jasmine Http Service Let’s consider a simple service to get data using get method of Http service. Let’s start with writing … Continue reading

Posted in AngularJs2.0, JavaScript, testing | Leave a comment

How data is handled between Components in React (State vs Props)


Prerequisites : Basic understanding of React. Here’s a blog you can refer to : Getting Started with React PROPS Every component in react have a property called props associated to it. This lets you make a single component that is … Continue reading

Posted in JavaScript, React, Reactive, ReactJS | Tagged , , , , , | 1 Comment

Getting Started with React


React (sometimes called React.js or ReactJS) is an open-source JavaScript library for building user interfaces. React allows developers to create large web-applications that use data that can change over time, without reloading the page. It aims primarily to provide speed, … Continue reading

Posted in JavaScript, React, ReactJS | Tagged , , , | 1 Comment

Understand closures in javascript


Let’s learn closures today, How closures are define how they got intialize and how they work A closure is a function within a function that has access to the environment that it was created, which gives the ability to access … Continue reading

Posted in AJAX, Functional Programming, JavaScript, jQuery, Scala, Web, web application | Tagged , | 1 Comment

Validations for Template-driven forms in Angular 4


Prerequisite : Basic understanding of Angular 2/4 First of all, we need to create a simple form in Angular. You can clone this repository for the example. We’ll continue further with this example. This is the form that we have … Continue reading

Posted in Angular Material, AngularJs2.0, JavaScript | 3 Comments

When I took Angular 2 to build my Application


When I took Angular 2 to build my application, I still had my doubts to go with Angular 2 or some other framework. But after some research, I decided to go with Angular 2. It gives the ability to make … Continue reading

Posted in Angular Material, Angular Strap, AngularJS, AngularJs2.0, JavaScript, web application | Tagged , , | 8 Comments

Hello React #2: Smallest Example in React


Hello Folks, In our previous blog post – Hello React #1: Creating a Single Page Application with React, we saw how to create a SPA with React. But, we didn’t got into its details. Here is the link for a … Continue reading

Posted in HTML, JavaScript, React, ReactJS | Tagged | Leave a comment