View Poll Results: Does anyone write ASP in JavaScript?
- Voters
- 6. You may not vote on this poll
-
Apr 10th, 2001, 08:20 PM
#1
Thread Starter
Fanatic Member
Just curious, i wrote an ASP calendar in javascript and my friend didn't think it could be done.
Alcohol & calculus don't mix.
Never drink & derive.
-
Apr 11th, 2001, 10:34 AM
#2
You can't 
This is called JSP - pinched from ASP, similar, but using Java / Javascript.
-
Apr 11th, 2001, 10:39 AM
#3
Actually Alex, you are wrong. ASP can be done in VBScript or Javascript.
-
Apr 11th, 2001, 10:40 AM
#4
Frenzied Member
As I understand it, you can create an ASP with either VBScript or JScript. Note, JScript is not the same as JavaScript, although they are both moving toward the W3C DOM standard and the ECMAScript standard.
You can create JSPs and you can create JavaScript that runs "serverside", but neither of theses are ASPs.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Apr 11th, 2001, 05:16 PM
#5
Thread Starter
Fanatic Member
Yeah, just change the <%@language%> to Javascript instead of VBscript.
Alcohol & calculus don't mix.
Never drink & derive.
-
Apr 11th, 2001, 05:23 PM
#6
Frenzied Member
Well... either your web server can serve JSPs or you aren't noticing that JScript's and JavaScript's syntax are very very similar. You can leave out the @language. IIS will figure out that it is an ASP and will figure out that it is VBScript or JScript (should). But officially, and technically, your ASP is in JScript, not JavaScript.
It is a very small technicality since their syntax are so similar.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Apr 11th, 2001, 06:12 PM
#7
Thread Starter
Fanatic Member
Are there any big differences?
Alcohol & calculus don't mix.
Never drink & derive.
-
Apr 12th, 2001, 03:18 PM
#8
Frenzied Member
No big differences, they are striving for the same standard.
Does JavaScript support the MS FSO Model? I'm sure there are others, but that one jumps out at me.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Apr 12th, 2001, 03:22 PM
#9
Black Cat
I remember seeing a web page comparison that said ASP using JScript performed faster than ASP using VBScript. Some time I'd like to write the same page in both languages and time it.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 12th, 2001, 03:31 PM
#10
Frenzied Member
Josh, that is very true. VB and VBScript are large and slow. JScript runs faster than VBScript and VC++ runs faster than VB.
'Course, you have to make a project big enough to notice the difference.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|