Learning NodeJS – Assert Module Explained for Unit Tests

In this tutorial, Number of times You want to write Unit Test Cases, You have to understand the Assert module in NodeJS.

This module has 11 methods that can be used to write test cases for the code that you have written and for Unit Test cases.

Slides :  https://docs.google.com/presentation/d/1Up1FfHODGQo8LaXoFjpL9i1oxjVaDVqQiaqg8D-hTnI/edit?usp=sharing

504 total views, 10 views today

 

Building Weather App in NodeJS in 17 Lines

In this tutorial, We are going to write NodeJS app with help of the Weather API from openweathermap.org which provides us daily temperature with the every rate fresh data.

We have used a request module and HTTP server concept in this tutorial.

698 total views, 8 views today

 

JQuery Basics : Part 1 – For Testers & Devs

JQuery is a fast, small, and feature-rich JavaScript library.

It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers

The jQuery library makes it easy to manipulate a page of HTML after it’s displayed by the browser.

  • JQuery Basics.
  • CSS Selectors & Locators.
  • Explicit iteration.
  • ChainingTraversal & Filtering selections
  • Manipulation. Events and Event Delegation & Effects
  • AJAX & Deferreds

 

588 total views, 17 views today

 

HTTP Methods. Authentication & Cookie basics

In This tutorial, We will learn about the HTTP methods,
HTTP functions as a request–response protocol in the client–server computing model.

We learn about the GET, POST, PUT, PATCH, HEAD, TRACE request in Detail, We will learn about the Web Authentication, Cookies Basic.

 

Slide Link – https://docs.google.com/presentation/d/1Z8kQmeDrlU17KMpJeGDMsB37xdZE4_uSPwOm0MWR3Zo/edit?usp=sharing

787 total views, 6 views today

 

Learning Javascript : Object Creation Patterns

There are majorly Four patterns to create an Object in Javascript.

  • Constructor Pattern.
  • Factory Pattern
  • Prototype Pattern
  • Dynamic Prototype Pattern.
  • Use this keyword to attach
  • Don’t return anything.
  • Create Dummy Object
  • Return this object after 
Prototype Pattern
  • Put things in Shared space (Prototype).
  • Kind of assign default values.
Dynamic Prototype Pattern. – http://jsbin.com/tajiwof/edit?js,console
// Dynamic Prototype Pattern  – Object Creation

Lexical Scoping 
Inner Function Automatically has the Outside variables access.
// Lexical Scoping  – Inner Functions have access to OUTER Variables
Closure in Javascript

290 total views, 4 views today