Re: Server-side JavaScript



Roman Ziak wrote:

Thomas 'PointedEars' Lahn wrote:
Julian Turner wrote:
Jamiil wrote:
I have been reading a book on JavaScript that is mostly for the
client-side, however, I'd like to learn the language from the
server-side, is there a book anyone could recomend?
TIA
From my own knowledge, JScript (MS implementation of ECMA script) for
ASP server side is identical to JScript in the browser [...]

I would consider this to be wrong, because server-side JScript.NET is
there, as an implementation of the _ECMAScript_ Edition 4 proposal, while
AFAIK it has not spread yet to a client-side application, where still
only JScript 5.6 is used, an implementation of ECMAScript Edition 3
(CMIIW). Therefore, it would be correct to say that server-side JScript
supports classes and strict typing, while client-side JScript does not;
this would be quite a difference between the two.
[...]

Thomas, there is nothing wrong with Julian answer. ASP is not ASP.NET.

Of course they are not.

ASP.NET uses JScript.NET and ASP uses whichever version of ActiveScript
engine is configured as JScript, most likely JScript v5.6 these days.

Most likely not. Since you are talking about _Microsoft_ ASP, read this:

,-<URL:http://msdn.microsoft.com/library/en-us/iissdk/html/cccf225f-d2ab-472e-a388-e08dcdba479f.asp>
|
| Changes in ASP Features in IIS 6.0
|
| Changes in ASP Features
|
| * ASP Pages are Disabled by Default
|
| In order to take a more proactive stance against malicious users and
| attackers, IIS is not installed on members of the Microsoft® Windows®
| Server 2003 family by default. Furthermore, when you initially install
| IIS, the service is installed in a highly secure and "locked" mode. By
| default, IIS serves only static content — meaning features like ASP,
| ASP.NET, Server-Side Includes, WebDAV publishing, and FrontPage® Server
| Extensions do not work unless enabled.

I understand this as if you can enable ASP and then you enable ASP.NET as
well.

Same language engine will be used on that machine for IE, ASP, WSH and
any application hosting JScript.

Not quite.


PointedEars
.



Relevant Pages

  • Re: Server-side JavaScript
    ... ASP server side is identical to JScript in the browser ... I would consider this to be wrong, because server-side JScript.NET is there, ... has not spread yet to a client-side application, ... an implementation of ECMAScript Edition 3. ...
    (comp.lang.javascript)
  • Re: ASP.Net - the "Big Picture"?
    ... client side technology that works in a browser and ASP.NET is a server ... You can output JScript ... client side, but it is not part of ASP.NET. ... I'm aware of the difference between client and server-side, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Store the answer to a question
    ... programming languages, nor is PHP only a server-side programming language. ... ASP is not a programming language, ... It can be used with JScript ...
    (comp.lang.javascript)
  • Re: Server-side JavaScript
    ... ASP server side is identical to JScript in the browser ... I would consider this to be wrong, because server-side JScript.NET is there, ... has not spread yet to a client-side application, ... ASP is not ASP.NET. ...
    (comp.lang.javascript)
  • Re: Store the answer to a question
    ... programming languages, nor is PHP only a server-side programming language. ... ASP is not a programming language, ... It can be used with JScript ...
    (comp.lang.javascript)