J
John Bentley
Note this is crossposted to comp.lang.javacript and
microsoft.public.dotnet.scripting.
After some Googling and FAQing my understanding of these terms is, crudely:
Javascript (3 different definitions):
1. The scripting language originally developed by Netscape. (I offer a Brief
handle: "Original Netscape Script")
2. The current implementation of the ECMAscript 262 (3rd ed.) standard by
Netscape. (I offer a brief handle: "Current Netscape implementation")
3. A generic term used to designate the continuly evolving standard and
implementations.
Jscript
1. The current microsoft implementation of the ECMAscript 262 (3rd ed.)
standard.
ECMAscript Standard
1. The scripting standard that is the current recommendation 262, 3rd edition I
believe.
JScript.NET
1. Microsoft's implementation of ECMAscript (4th Ed).
The definitions could be, and have been, debated endlessly. Do I have them
essentially right? How is "javascript" mostly understood?
Which do I learn? That is, and these are all newbie questions, when scripting
your web site what implementation/standard should you use for reasonably wide
browser compatiblity?
Do you pick either of javascript - current netscape implementation OR Jscript
Then be careful not to use implementation extensions that are not part of
ECMAscript 262? Do you, when learning, start with the ECMAscript 262 standard
and ignore the particular implementations? Is one implementation to be favoured
over the other (netscape over microsoft)?
Is one implementation regarded as having greater compatibility? javascript -
current netscape implementation?
Should JScript.NET be avoided like the plague as it based on a standard yet to
be released and not even supported in IE 6.0?
I am coming from the Dotnet/microsoft world. If I learn Jscript have I become a
microsoft slave or is Jscript sufficiently cross browser compatible?
I suppose too I have to know which version of an implementation I should code.
This in turn is dictated by which are the current browsers you code for:
Looking at http://www.doctor-html.com/agent_stats/
It would seen that Netscape 7.0 and IE 5.0 would be sufficiently lowest common
denominator. Are these the browsers you target?
If one where to learn Jscript then
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/j
sconIntroductionToJScriptNETForJScriptProgrammers.asp
would dictate no higher than Jscript 5.0 should be learnt? What current netscape
implentation version should be learnt ( if you were to go down the netscape
path) 1.2, 1.5, 2.0?
You might be able to answer all these questions in one swoop??
Thanks in Advance,
John
microsoft.public.dotnet.scripting.
After some Googling and FAQing my understanding of these terms is, crudely:
Javascript (3 different definitions):
1. The scripting language originally developed by Netscape. (I offer a Brief
handle: "Original Netscape Script")
2. The current implementation of the ECMAscript 262 (3rd ed.) standard by
Netscape. (I offer a brief handle: "Current Netscape implementation")
3. A generic term used to designate the continuly evolving standard and
implementations.
Jscript
1. The current microsoft implementation of the ECMAscript 262 (3rd ed.)
standard.
ECMAscript Standard
1. The scripting standard that is the current recommendation 262, 3rd edition I
believe.
JScript.NET
1. Microsoft's implementation of ECMAscript (4th Ed).
The definitions could be, and have been, debated endlessly. Do I have them
essentially right? How is "javascript" mostly understood?
Which do I learn? That is, and these are all newbie questions, when scripting
your web site what implementation/standard should you use for reasonably wide
browser compatiblity?
Do you pick either of javascript - current netscape implementation OR Jscript
Then be careful not to use implementation extensions that are not part of
ECMAscript 262? Do you, when learning, start with the ECMAscript 262 standard
and ignore the particular implementations? Is one implementation to be favoured
over the other (netscape over microsoft)?
Is one implementation regarded as having greater compatibility? javascript -
current netscape implementation?
Should JScript.NET be avoided like the plague as it based on a standard yet to
be released and not even supported in IE 6.0?
I am coming from the Dotnet/microsoft world. If I learn Jscript have I become a
microsoft slave or is Jscript sufficiently cross browser compatible?
I suppose too I have to know which version of an implementation I should code.
This in turn is dictated by which are the current browsers you code for:
Looking at http://www.doctor-html.com/agent_stats/
It would seen that Netscape 7.0 and IE 5.0 would be sufficiently lowest common
denominator. Are these the browsers you target?
If one where to learn Jscript then
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/j
sconIntroductionToJScriptNETForJScriptProgrammers.asp
would dictate no higher than Jscript 5.0 should be learnt? What current netscape
implentation version should be learnt ( if you were to go down the netscape
path) 1.2, 1.5, 2.0?
You might be able to answer all these questions in one swoop??
Thanks in Advance,
John