JavaScript Tutorials

  • JavaScript is a lightweight, interpreted programming language with object-oriented capabilities
  • It is Open and cross-platform
  • JavaScript is used for client side validation and its code is executed when the user submits the form, and only if all the entries are valid they would be submitted to the Web Server. E.g. For example, you might use JavaScript to check if the user has entered a valid e-mail address in a form field.
  •  As it is an interpreted language inside the context of a web browser, you don't even need to buy a compiler.



Advantages of JavaScript
  • Less server interaction: You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your 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.
  • Increased interactivity: You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.

JavaScript Limitations
  • Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason.
  • JavaScript cannot be used for networking applications because there is no such support available.
  • JavaScript doesn't have any multithreading or multiprocessing capabilities.



No comments:

Post a Comment