| Topic J |
| Java Script |
| Java is the scripting language which is separate from Java programming language. |
| Originally it is known as ECMAScript which is used for client side web development. |
| Java script is specially designed for non programmers who do not know the programming language. It is a object oriented programming language. |
| "JavaScript" is a trademark Sun Microsystems. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation. |
| Importance of Java script |
1) Java script accepts dynamic typing where it go through various ways to test the objects.
2) It’s functions are first class this mean new functions are constructed during the execution of the program.
3) Programming language like Java applet use “classes” to define the objects but in Java script “prototype” supports defining the objects. It has arrays instead of list and objects.
4) Changing images, opening window, validation of web form are the functions of Java script.
5) Java script can run in user’s browser rapidly and thus give quick response. Along with this Java script codes can detect user’s action. |
| Drawbacks of Java script |
1) As Java script is also written by non programmers it is presented in bad way as all the tools and tactics are not used by them.
2) Java script is over burdened with objects. There are various ways to create objects in the Java script., For example creating object with Literal notation.
3) The books with the description of Java script are defective as it contains errors and poor examples.
4) Java script contains design . |
| |
| |