1 |
Historically, JavaScript was called LiveScript, which was developed by Netscape with some of the same goals as Java but focused on a "smaller world" Ñ manipulation of text and objects connected with Netscape clients
|
2 |
Markup Language ............................. Programming Language
|
3 |
Ñ> HTML JavaScript Java C++ <Ñ
|
4 |
In some cases, we use JavaScript as an alternative to Java where the "rapid prototyping" of a fully scripted language is helpful
-
We expect somebody to develop a fully interpreted Java and/or to extend JavaScript to support more built-in objects (e.g., networking, images)
-
Think of JavaScript as either active text (HTML) or a focused language!
|
5 |
JavaScript can be thought of as Java with the AWT (Abstract Windowing Toolkit) replaced by Netscape Client
-
JavaScript is a domain-specific interpreter for web documents
-
E.g., PostScript is a domain-specific interpreter for text layout, MATLAB is an interpreter for matrix manipulation, Mathematica is domain-specific for mathematics applications, etc.
|