What is JavaScript ?
Javascript is a dynamic computer programming language with object-oriented capabilities. It is used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages.
Client-side JavaScript
Client-side JavaScript is the most common form of the language.
The JavaScript client-side mechanism provides many advantages.For example, you might use to check if the user has entered a valid e-mail address in a form field.The script should be included in or referenced by an HTML document for the code to be executed when the user submits the form, and only if all the entries are valid, they would be submitted to the Web Server.
Advantages of JavaScript
- Less server interaction : The code is executed on the user's processor instead of the web server thus saving bandwidth and strain on the web server.
- Immediate feedback to the visitors : They don't have to wait for a page reload to see if they have forgotten to enter something.
- Javascript is a relatively easy language: Javascript language is relatively easy to learn due to the syntax close to English.
Limitations of JavaScript
- Client-side JavaScript issue : For security reasons reading and writing are not allowed.
- Reliance on End user : sometimes Javscript codes is interpreted differently by different browsers. Whereas server-side scripts will always produce the same output.
- Security Issues : Javascript snippets are causing security problems because they could contains malicious code used to exploit the user's system once appended onto web pages and executed on client servers
JavaScript development tools
Here we will talk about some editors that support javascript- Eclipse JavaScript Development Tools
- Oracle NetBeans IDE
- ActiveState Komodo IDE 7