Defintion
Like Java, this is a programming lanuguage designed by Sun Microsystems, in conjuction with Netscape, that can be integrated into standard HTML pages. While JavaScript is based on the Java syntax, it is a scripting language, and therefore cannot be used to create stand-alone programs. Instead, it is used mainly to create dynamic, interactive Web pages. For example, Web developers can use JavaScript to validate form input, create image rollovers, and to open those annoying pop-up windows. Like so many other things, we have to take the good with the bad. It is supported by recent browsers from Netscape and Microsoft, though Internet Explorer supports only a subset, which Microsoft calls Jscript.
Importance Of JavaScript
JavaScript is the most important web language which seems to be very easy to write but practically it’s very hard to manage and difficult to identify it’s flow. To create an interactive webpages you must learn JavaScript. If you want to validate the registration form, sign up form or other important input information before submit by the visitor you need to use the JS to provide the interactivity in our webpages.
There are many legitimate causes of importance of JavaScript in webpages such as:
- Best User interface
- Lots of good framework
- Server side javascript (MongoDB & Node.js)
- Many success application built from it (Gmail is an example)
- Object-oriented able
- Good support (HTML5 included)
With the help of a little bit of JavaScript you can use the following features in your webpages :
- Dinamically change the website without needing to reaload it, which can be used in some dinamic menus, or some other implementations. When used with a server language and XML (AJAX), it allows to navigate a whole website without ever realoading it, which is a great thing!
- Validating form before submit.This and more are the applications of JavaScript. Some of them are important, some of them not much, but all of them are used a lot in websites. SO the importance of JavaScript is great!
- Most video pages, like youtube, use javascript to create their own movie players. So… without javascript you can’t watch any youtube video
- JavaScript mostly used in creating cool aplications for a website, like a calculator, simple animations, and even games.
No comments:
Post a Comment