JavaScript is a simplified, object-oriented scripting language, designed for repetitive tasks and responding to user events. It's main use has been on the client-side of the internet, though Netscape has released a version of their web server which incorporates a system called LiveWire, which includes server-side JavaScript programming.
Objects:
The combination of methods, properties and information form the object.
Javascript provides some built-in objects which provide information about the current page, its contents, the current session, the browser, and various methods associated with each of these. In addition, there are built-in objects for manipulating strings and dates, and performing math operations.
Javascript also allows for the creation of user-defined objects which will be explored later.
Window | +--Location | +--History | +--Document | +--Forms | +--Anchors | +--Links | +--Applets
Strengths | Weaknesses |
---|---|
Platform independent | Limited built-in method range |
Quick developement | No hidden code (allows copying) |
Easy to learn | Limited debugging (changing) |
Small overhead |