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…
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…
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…
In this article we will try to figure it out that how event loop and concurrency actually works in javascript. Javascript,a single threaded, functional language. One thread == One call stack == One thing at a time Have you ever wondered that despite of being single threaded, functional language, how…