Web Kit Support for Java Script

JavaScript is the primary programming language used on web pages and executed on the client side of the application. Brendan Eich, of Netscape, invented the language in the early days of the World Wide Web (around the early 1990s), and it appeared in the Netscape Navigator version 2.0 browser.

Since then, all browsers of significance, including the Android browser, have incorporated JavaScript. The development of a standard document for the language started in late 1996 and that standard has since evolved into what is known as the ECMA Standard.

The WebKit JavaScript engine, called JavaScriptCore, is a separate framework from WebCore and WebKit. JavaScript provides a dynamic tool for reacting to important programmatic events such as mouseovers, mouse clicks, initial page loading, and so forth. It is a strongly-typed, object-oriented language, very similar to the Java programming language it was named after. Make no mistake about it, however: JavaScript is not Java.

As a scripting language, JavaScript is transmitted in source form from the server to the client (Android). Then it is compiled and executed on the fly when the page is loaded. To keep web applications that load into the browser executing quickly, code should remain small and short, and looping processes should not be incorporated into a web page's JavaScript code. Common uses for JavaScript include generating dynamic menus, properly validating and formatting form data, and providing useful widgets that can appear on a web page such as a dynamic clock or calendar.

0 0

Post a comment