We all love music and we all have used Youtube to find good music, but the problem is that even though Youtube is so popular, there isn’t any desktop app for Youtube while its competitors like Spotify or Pandora has full-fledged desktop apps. So, today we will build a desktop app for Youtube using Electron
Tag: javascript
Web Socket implementation using Socket.io
We learn about web sockets and how they solve the problems caused by pooling. You can read it here if you missed it. In this article we are going to talk about the implementation of web sockets. Web Sockets and how they solve the problem caused by pooling. For the article I am assuming that
What happens when you click a link?
What happens when you click a link? So, when you click on a link, there are three things that can happen. What happens when you click a link? 1. Simple Action with url and no javascript of any other such language involve, also no css is involved. At a high level, when you click on
Terminal in browser: Building a Javascript Terminal in your website.
Javascript Console is very useful when it comes to debugging webpages. Normally you can see it when you right click on the webpage and inspect the webpage. Here for making a JS console and also to make it run your commands we will be using a Javascript library. Here we will be making a terminal
How to optimize javascript for performance – Top Points.
[sgmb id=3] By following the below you can optimize the Javascript code for performance. For more insight follow the links mentioned in the article. Minimize DOM access, and try to work as much as possible in JavaScript code. Use local variables to store DOM references you’ll access repeatedly. Be careful when dealing with
Javascript: Understanding Repaint and Reflow of DOM for increasing performance
[sgmb id=3] Hey folks, I guess you have gone through the previous javascript performance articles on dynamic loading, scope and variables and DOM manipulation. For this time let us start with understanding what is repaint and reflow. For repaints and reflows we must know about DOM tree and render tree. DOM tree It is
JavaScript: How to handle DOM to increase performance and optimization.
[sgmb id=3] Hey folks, Till now we talked about increasing performance by dynamic loading and handling scope intelligently. If you missed them read about them, links mentioned at the bottom. In this article we are going to talk about DOM and how to handle DOM to make most out of it and optimize to
Javascript: Increasing performance by handling Scopes Smartly.
[sgmb id=3] Hey everyone, We are back with the new series of this Javascript: Increasing Performance series. In this post we will talk about scopes and how they affect the performance your web application. There are four basic places from which data can be accessed in JavaScript: Literal Values – Any value that represents
Javascript: Increasing performance using Dynamic Loading
[sgmb id=3] Hello folks, So we are back again with a new article regarding Javascript. This time we will talk about increasing the performance of web pages by different methods. So lets start with a fact. Earlier while rendering HTML when browser finds script tag it stops everything else and load the script and
Javascript: Difference between strict and lenient equality
[sgmb id=3] In Javascript everyone recommends to use strict equality instead of lenient. In this article we will see the difference between strict and lenient equality and discover why it should not be used. So lets begin. 2 == true // 2 === 1 false 2 == false // 2 === 0 false 1