Difference between Client side scripting and Server side scripting

Difference between Client side scripting and Server side scripting Client side scripting: It runs/interprets/executes the scripts in end-users browsers. Script source code transfered to browser and run and render the output. Browser can be enabled to stop the scripting execution in their end. Slow, as it runs on end-user/client side. Source code can be viewed. Eg: Javascript, AngularJS   Server […]

290 total views, no views today

» Read more

Difference between Javascript and Typescript

Difference between Javascript and Typescript: Javascript Typescript var myVar = ‘hello’; myVar = 10; console.log(myVar); // prints 10 let myVar = ‘hello’; myVar = 10; console.log(myVar) // we get the error here stating //Type ‘number’ is not assignable to type ‘string’ We dont have a type number only in javascript. Typescript does not have float/double types, everything is considered as […]

696 total views, no views today

» Read more

Typescript Quick Notes for Angular Developers

Typescript Quick Notes for Angular Developers: As because of angular’s reach angular developers are forced to learn typescript. It is not tough but it is better to know the below basic syntax to code faster.   1. Converting array to JSON in typescript   selectedItems = []; JSON.stringify(this.selectedItems);       2. For loop in typescript   for(let item of […]

691 total views, no views today

» Read more

How to install node js in windows 10 ?

How to install node js in windows 10 ?   If you want to install NodeJS in Windows 7 then refer the below post: 3 Simple Steps to install NodeJS in Windows 7   Step 1: Download the nodejs package from the below link: NodeJS Package Download (you can download ->¬†Windows Binary (.zip) 32bit / 64bit based on your OS […]

1,992 total views, 1 views today

» Read more

18 Important Javascript Interview Questions

Javascript Interview Questions:     1.¬†Difference between == and === ? == compares only the value. === compares the value along the data type or type of the variable. Eg: 1 == “1” => true;because both has the value 1. 1 === “1” => false;because one is integer and other one is string. So even though it has the same […]

621 total views, no views today

» Read more

AngularJS Hello world for Dummies

AngularJS Hello world for Dummies featured image

AngularJS Hello world for Dummies: AngularJS is an open source Model-View-Controller [MVC] Javascript framework initially created by Misko Hevery and Adam Abrons in 2009. Now google maintains this web application open source framework. AngularJS written using Javascript language. AngularJS extends HTML attributes by directives.   What is AngularJS? It is a javascript framework mainly used to create single page applications(SPA’s) […]

672 total views, no views today

» Read more

Developing Gmail Inbox extensions using inboxSDK

Developing Gmail Inbox extensions using inboxSDK: InboxSDK: What is InboxSDK ? InboxSDK is a platform to develop extensions/plugins for gmail inbox. It’s just a single JS file which you can download from InboxSDK.     Extension in Gmail ? Where can I find it? Yes. It’s a extension in gmail. You can find in sidebars, new compose messages/reply messages etc., […]

1,783 total views, no views today

» Read more

Prompt before closing the browser tab example

confirmation prompt before closing the browser tab

Prompt before closing the browser tab: In realtime web applications like shopping websites and multi tab registration websites we wanted to show the confirmation prompt before closing the browser tab. Because user would have clicked the close button by mistake/without knowing. If we close the tabs without letting him, then he may lost the data’s which he entered.   For […]

604 total views, no views today

» Read more

Click to copy to clipboard jQuery

click to copy

Click to copy to clipboard jQuery:     If you look at the coupon websites, they will copy the coupon you clicked to your clipboard.       Plugins Required for click to copy to clipboard: 1. jQuery Plugin [jquery.min.js] 2. zClip Plugin [jquery.zclip.js]   Click to Copy to clipboard jQuery source code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" […]

1,106 total views, no views today

» Read more
1 2 3