As the name itself says Java Script is a client site Scripting language. Now the question arises What does client site mean???
Just in a simple words client site means it does not require server to run the Script that means you can run it just on your browser. So JavaScript is a client site Scripting language that let you make your website interactive.
One of the most important region of using Java Script is that It lets web page respond instantly to actions like on providing value to some input field or clicking on some button in JavaScript action are instantly performed we do not have to deal with irritating delays like in Server site languages.
Lets take a Example to under stand it in more better way lets Suppose we want to make a Registration form in which we want to take input like First Name,Last Name, Gender, Email ID, Password and many more so if we want that the user should enter the valid data such as in case of name it can’t be numeric and in case of password it can’t be smaller then 8 characters and as soon as the User does not enter the valid data it get a massage that it is not a valid data by the use of JavaScript we can easily do this
JavaScript History
A Very interesting fact about JavaScript is that it was Invented in 10 days by Brendan Eich at Netscape back in 1995. At that time it was not as popular as it is now. they have improved JavaScript many times.
In past few year it is one of the Most popular Scripting language and these are used by many high-profile websites like Google, Yahoo!, Flickr and many more Google use of JavaScript in google maps that lets you view a map of anywhere when you double click on the map it instantly zooms in the selected area and give you more clear view.
Advantages of JavaScript
There are many advantages of using JavaScript but i will list few of them which are important
* It executes on client’s browser, so we need not to worry about serve processing.
* Almost all of the browser can execute this script.
* It can be use with many webpages like PHP .NET and many more.
* JavaScript has many application Frame works like ExtJS, AngularJS, KnockoutJS etc.
* JavaScript is loosely-typed client side scripting language.
Stay tuned for the PHP Magento, WordPress, JavaScript and Magento2 latest tutorial and updates, Hope you enjoyed reading, if you need the professional Magento Development / PHP we can help you, just Click on the Link and send me your requirements.
Please Like the Post on Facebook or Google+.