Essentials of Javascript - Cultural View
Essentials of Javascript - Cultural View Essentials of Javascript - Cultural View
JScript 93 JScript Appeared in 1996 Developer Microsoft Stable release 5.8 (March 2009) Typing discipline dynamic, weak, duck Major implementations Windows Script, JScript .NET Influenced by JavaScript OS Microsoft Windows Usual file extensions .js, .jse, .wsf, .wsc (.htm, .html, .asp) Website JScript [1] JScript is a scripting language based on the ECMAScript standard that is used in Microsoft's Internet Explorer. JScript is implemented as a Windows Script engine. This means that it can be "plugged in" to any application that supports Windows Script, such as Internet Explorer, Active Server Pages, and Windows Script Host. It also means that any application supporting Windows Script can use multiple languages — JScript, VBScript, Perl, and others. JScript was first supported in the Internet Explorer 3.0 browser released in August 1996. Its most recent version is JScript 5.8, included in Internet Explorer 8. Another dialect of JScript (as of 2004 - 2006) was JScript .NET, which was based on the yet-unfinished edition 4 of the ECMAScript standard, and can be compiled for the Microsoft .NET platform. JScript.NET, which added several new features to ECMAScript ed. 3, such as optional static type annotations, appears no longer to be actively developed. Comparison to JavaScript As explained by JavaScript guru Douglas Crockford in his talk entitled The JavaScript Programming Language on YUI Theater, "[Microsoft] did not want to deal with Sun about the trademark issue, and so they called their implementation JScript. A lot of people think that JScript and JavaScript are different but similar languages. That's not the case. They are just different names for the same language, and the reason the names are different was to get around trademark issues." Differences from JavaScript Unlike JavaScript, JScript supports conditional compilation. This allows a programmer to selectively execute code within block comments. Versions JScript The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the COM/OLE Automation platform and provides scripting capabilities to host applications. This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML application, in classic ASP, in Windows Script Host scripts and several other Automation environments.
JScript 94 JScript is sometimes referred to as "classic JScript" or "Active Scripting JScript" to differentiate it from newer .NET-based versions. Some versions of JScript are available for multiple versions of Internet Explorer and Windows. For example, JScript 5.7 was introduced with Internet Explorer 7.0 and is also installed for Internet Explorer 6.0 with Windows XP Service Pack 3, while JScript 5.8 was introduced with Internet Explorer 8.0 and is also installed with Internet Explorer 6.0 on Windows Mobile 6.5. Version Date 1.0 Aug 1996 2.0 Jan 1997 3.0 Oct 1997 [2] Introduced with Based [3] on Similar JavaScript version Internet Explorer 3.0 Netscape JavaScript 1.0 Windows IIS 3.0 Netscape JavaScript 1.1 Internet Explorer 4.0 4.0 Visual Studio 6.0 (as part of Visual 5.0 Mar 1999 InterDev) [4] ECMA-262 1 st edition ECMA-262 1 st edition Internet Explorer 5.0 ECMA-262 2 nd edition 1.4 5.1 Internet Explorer 5.01 ECMA-262 2 nd edition 1.4 5.5 Jul 2000 Internet Explorer 5.5 & Windows CE 4.2 ECMA-262 3 rd edition 1.5 5.6 Oct 2001 5.7 Nov 2006 5.8 Mar 2009 Internet Explorer 6.0 & Windows CE 5.0 ECMA-262 3 rd edition 1.5 Internet Explorer 7.0 Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA-262 3 rd [5] edition + ECMA-327 (ES-CP) ECMA-262 3 rd edition + ECMA-327 (ES-CP) + JSON (RFC 4627) 3 JScript is also available on Windows CE (included in Windows Mobile, optional in Windows Embedded CE). The Windows CE version lacks Active Debugging. JScript .NET JScript .NET is a Microsoft .NET implementation of JScript, it is a CLS language and thus inherits very powerful features, but lacks many features of the original JScript language, making it inappropriate for many scripting scenarios. JScript .NET can be used for ASP.NET pages and for complete .NET applications, but the lack of support for this language in Microsoft Visual Studio place it more as an upgrade path for classic ASP using classic JScript than as a new first-class language. 1.3 1.3 1.5 1.5
- Page 45 and 46: JavaScript syntax 42 See also • C
- Page 47 and 48: JavaScript Style Sheets 44 } fontSi
- Page 49 and 50: JavaScript engine 46 JavaScript eng
- Page 51 and 52: Ajax (programming) 48 Ajax (program
- Page 53 and 54: Ajax (programming) 50 • Ajax-powe
- Page 55 and 56: ?: 52 ?: In computer programming, ?
- Page 57 and 58: ?: 54 Furthermore, the ternary oper
- Page 59 and 60: ?: 56 ?: in style guidelines Some c
- Page 61 and 62: Appcelerator Titanium 58 See also
- Page 63 and 64: Bookmarklet 60 Bookmarklet A bookma
- Page 65 and 66: Bookmarklet 62 References [1] Domai
- Page 67 and 68: Client-side JavaScript 64 implement
- Page 69 and 70: Client-side JavaScript 66 Reference
- Page 71 and 72: dhtmlx [1] Comparison of JavaScript
- Page 73 and 74: ility / ion Comparison of JavaScrip
- Page 75 and 76: Comparison of JavaScript frameworks
- Page 77 and 78: Comparison of JavaScript frameworks
- Page 79 and 80: Comparison of JavaScript-based sour
- Page 81 and 82: Comparison of JavaScript-based sour
- Page 83 and 84: Douglas Crockford 80 Douglas Crockf
- Page 85 and 86: DWR (Java) 82 DWR (Java) Developer(
- Page 87 and 88: EMVC 84 EMVC Developer(s) Ed Hertzo
- Page 89 and 90: Brendan Eich 86 References [1] Stev
- Page 91 and 92: JSDoc 88 JSDoc JSDoc is a syntax fo
- Page 93 and 94: JSDoc 90 History The earliest examp
- Page 95: JSSP 92 JSSP JSSP, or JavaScript Se
- Page 99 and 100: JScript 96 [9] http://msdn2.microso
- Page 101 and 102: JSON 98 JSON Filename extension .js
- Page 103 and 104: JSON 100 Using JSON in Ajax The fol
- Page 105 and 106: JSON 102 /> state='NY' postalCode='
- Page 107 and 108: JSON 104 parseResponse({"Name": "Ch
- Page 109 and 110: JSON 106 [21] Ben-Kiki, Oren; Evans
- Page 111 and 112: JsonML 108 ["person", {"created":"
- Page 113 and 114: Lightbox (JavaScript) 110 Lightbox
- Page 115 and 116: Lively Kernel 112 Lively Kernel Liv
- Page 117 and 118: Lively Kernel 114 The Lively Wiki T
- Page 119 and 120: Lively Kernel 116 }); } External li
- Page 121 and 122: Minification (programming) 118 Mini
- Page 123 and 124: Objective-J 120 Objective-J Paradig
- Page 125 and 126: John Resig 122 John Resig John Resi
- Page 127 and 128: Reverse Ajax 124 External links •
- Page 129 and 130: Seed (programming) 126 Seed (progra
- Page 131 and 132: Seed (programming) 128 See also •
- Page 133 and 134: Comparison of Server-side JavaScrip
- Page 135 and 136: Comparison of Server-side JavaScrip
- Page 137 and 138: Comparison of Server-side JavaScrip
- Page 139 and 140: SproutCore 136 • Tasks. Tasks man
- Page 141 and 142: Unobtrusive JavaScript 138 }); Beca
- Page 143 and 144: Venkman 140 External links • Venk
- Page 145 and 146: XMLHttpRequest 142 Microsoft added
JScript 93<br />
JScript<br />
Appeared in 1996<br />
Developer Micros<strong>of</strong>t<br />
Stable release 5.8 (March 2009)<br />
Typing discipline dynamic, weak, duck<br />
Major implementations Windows Script, JScript .NET<br />
Influenced by JavaScript<br />
OS Micros<strong>of</strong>t Windows<br />
Usual file extensions .js, .jse, .wsf, .wsc (.htm, .html, .asp)<br />
Website JScript [1]<br />
JScript is a scripting language based on the ECMAScript standard that is used in Micros<strong>of</strong>t's Internet Explorer.<br />
JScript is implemented as a Windows Script engine. This means that it can be "plugged in" to any application that<br />
supports Windows Script, such as Internet Explorer, Active Server Pages, and Windows Script Host. It also means<br />
that any application supporting Windows Script can use multiple languages — JScript, VBScript, Perl, and others.<br />
JScript was first supported in the Internet Explorer 3.0 browser released in August 1996. Its most recent version is<br />
JScript 5.8, included in Internet Explorer 8.<br />
Another dialect <strong>of</strong> JScript (as <strong>of</strong> 2004 - 2006) was JScript .NET, which was based on the yet-unfinished edition 4 <strong>of</strong><br />
the ECMAScript standard, and can be compiled for the Micros<strong>of</strong>t .NET platform. JScript.NET, which added several<br />
new features to ECMAScript ed. 3, such as optional static type annotations, appears no longer to be actively<br />
developed.<br />
Comparison to JavaScript<br />
As explained by JavaScript guru Douglas Crockford in his talk entitled The JavaScript Programming Language on<br />
YUI Theater, "[Micros<strong>of</strong>t] did not want to deal with Sun about the trademark issue, and so they called their<br />
implementation JScript. A lot <strong>of</strong> people think that JScript and JavaScript are different but similar languages. That's<br />
not the case. They are just different names for the same language, and the reason the names are different was to get<br />
around trademark issues."<br />
Differences from JavaScript<br />
Unlike JavaScript, JScript supports conditional compilation. This allows a programmer to selectively execute code<br />
within block comments.<br />
Versions<br />
JScript<br />
The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the<br />
COM/OLE Automation platform and provides scripting capabilities to host applications.<br />
This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML<br />
application, in classic ASP, in Windows Script Host scripts and several other Automation environments.