- A lightweight interpreted programming language with object-oriented
capabilities
- Created by Brendan Eich at Netscape
- Originally called LiveScript
- Microsoft's IE implementation is officially called JScript
- Client-side
- code embedded in HTML pages
- interpreter embedded in a browser
- executes on the client machine
- intimately tied to Document Object Model
- handles events
- version/browser dependencies
- Server-side
- code embedded in HTML pages
- code executed by the server
- propietary, vendor-specific technology
- has access to server-side objects like files and databases
- can save state across multiple client requests
- much less prevasive than client-side
- Core language
- Syntactically similar to C, C++, Java
- Shares many characteristics with Perl
- Not Java
Another scripting language that can be embedded within a web browser is IE's
VBScript (based on Visual Basic)
|