Javascript - OOP VS functional programming

Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. Functional programming is a programming paradigm, a style of building…

WHY REST API IN NODE ?

So, Let’s start with a story. From last 2 years I am working on JavaScript and developing web front end and I am enjoying it. Back end guys provide’s us some API’s written in Java,python (we don’t care) and we simply write a AJAX call, get our data and guess…

JavaScript – Prototype

Prototype Like Douglas Crockford said – “Every Object is linked to a prototype object from which it can inherit properties. All objects created from object literals are linked to Object.prototype, an object that comes standard with JavaScript.” Here, we will explore some interesting things. What is a Prototype? {Prototype} (Prototype with…

Web Performance Checkpoints

YSlow 14 Guidelines- Fewer HTTP Requests — request less during page load time like loading of google analytic, Image Sprites, concat CSS/JS, Use a CDN — most CDN have multiple location as compare to your company has one data centre. Expires/Cache-Control Header Gzip — gidnetwork.net Stylesheets at Top Scripts at Bottom Avoid CSS Expressions Externalise CSS…