Know About Java Script

Know About Java Script Language
About Java Script
About Java Script
Java script is Netscape’s cross-platform, object-based scripting language for client and server applications. It is an easy to use but power full scripting language, which can be used to make web pages more interactive.
javascript icon by bangla bhumi
javascript icon by bangla bhumi
As you will very often see, one programming language evolves from another and same is the case with JavaScript. Netscape originally developed a language called Live Script to add basic scripting capability to both Navigator and its web-server line of products. when it added support for java applet in its release of Navigator 2,the name LiveScript was replaced be JavaScript. JavaScript has been subsequently updated with each new release of navigator.

JavaScript offers the web page author a new  level of the sophistication without requiring him to become a programmer. JavaScript bring dynamic and power full capabilities to web pages, yet JavaScript  is no more difficult to learn than HTML. JavaScript can be used to solve common problems, such as validating  forms input and can also be used to create dramatic and visually appealing content, which would be impossible with HTML.

This chapter introduces JavaScript and discusses some of its fundamental concepts under the following sections:-
  • JavaScript and Java
  • Core, Client-Side, and Server-Side JavaScript
  • Debugging JavaScript
  • Visual JavaScript
  • JavaScript and the ECMA Specification
  • JavaScript objects
  • JavaScript code in HTML

Core JavaScript contains a core set of objects, such as Array, Date, and math and a core set of language elements such as operators, control structures and statement s. Core JavaScript can be extended for a variety of purpose by supplementing it with additional objects for example:
Client –side JavaScript extends the core language by supplying objects to control a browser(navigator or another web browser) and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input and page navigation.

Server-side JavaScript   extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extension allow an application to communicate with a relational database, provide continuity of information from one request to another of the application or perform file manipulations on a server.

JavaScript lets you create application that run over the Internet .Client allocations run in a browser =, such as Netscape Navigator, and server application run on a server, such as Netscape Enterprise Server .Using JavaScript, you can create dynamic HTML page that process user input and maintain persistent data using special objects, files and relational databases.

Through JavaScript’s Live Connect functionality, you can let Java and JavaScript code communicate with each other. From JavaScript you cane instantiate Java objects and access their public methods and fields. From Java, you can access JavaScript objects, properties and methods.

[Copyright contents by : Bangla Bhumi : collect from Books ]