Uses and Limitations of JavaScript
Uses of JavaScript:
1) Less Server Interaction: We can validate user input before sending the page off to the server. This saves server traffic, which means less load on server.
2). Immediate feedback to the visitors: They don't have to wait for the page reload to see if they have forgotten to enter something.
3). Increased Interactivity: You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.
4). Richer interfaces: You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors.
5) Simple
6) Easy to learn.
7) Platform Independent.
8) Speed.
9) Animations.
10) Easy to use third party addons
11) Load sharing.
Limitations of JavaScript:
We cannot treat JavaScript as a full-fledged programming language. It lacks the following important features:1). Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason.
2). JavaScript cannot be used for networking applications because there is no such support available.
3). JavaScript doesn't have any multithreading or multiprocessor capabilities.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment