Share with you (Internet Application)

Monday, February 12, 2007

W5-My understanding of JavaScript

JavaScript is the name of Netscape Communications Corporation's and now the Mozilla Foundation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.
Despite the name, JavaScript is only distantly related to the
Java programming language, the main similarity being their common debt to the C syntax. Semantically, JavaScript syntax has far more in common with the Self programming language.
JavaScript is a
registered trademark of Sun Microsystems, Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.
I have read some information about JavaScript, the first thing I encounterred is something called DOM (Document Object Model), the basic technology is to regard everything as objects, this is also the buzz word of today. OO programming is facilitating our life everyday. In fact, we should consider everything as object, one class can have many objects, like people class, every one of us is an object of people class. In JavaScript, there are 3 kinds of objects, one is from the system, one is the XHTML tags. Object has properties, so we can change object properties to make the web page dynamic and interactive with users. In the client-side JavaScript programming, it helps a lot in the validation of forms the users fill in. On the web site, there are somy resource about javaScript, many are for free. JavaScript can be applied with JSP,ASP and PHP, in my opnion, JavaScript is more compatible to JSP than PHP and ASP, I am now doing some comparisom about it.
Java Script really maks your web page beautiful:http://ecom.cs.cityu.edu.hk/50741770