By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,948 Members | 1,595 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,948 IT Pros & Developers. It's quick & easy.

ASP JavaScript versus ASP VBScript

P: n/a
When I create new documents in Dreamweaver, there are several choices for
ASP creation:
ASP javascript: run at client side??
ASP vbscript: run at server side??
ASP.NET C#
ASP.NET VB

I don't understand the differences between ASP JavaScript and ASP VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John


Jul 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
When I create new documents in Dreamweaver, there are several choices for
ASP creation:
ASP javascript: run at client side??
ASP vbscript: run at server side??
ASP.NET C#
ASP.NET VB

I don't understand the differences between ASP JavaScript and ASP VBScript?? Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John


Jul 19 '05 #2

P: n/a
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for the job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
When I create new documents in Dreamweaver, there are several choices for ASP creation:
ASP javascript: run at client side??
ASP vbscript: run at server side??
ASP.NET C#
ASP.NET VB

I don't understand the differences between ASP JavaScript and ASP

VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John



Jul 19 '05 #3

P: n/a
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript has
fine error setup if done properly plus it has so many builtin components to
interact with the server that I'm not aware of in javascript.. (mind you I'm
talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for server-side code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for

the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
When I create new documents in Dreamweaver, there are several choices for ASP creation:
ASP javascript: run at client side??
ASP vbscript: run at server side??
ASP.NET C#
ASP.NET VB

I don't understand the differences between ASP JavaScript and ASP

VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John




Jul 19 '05 #4

P: n/a
If you're working off of a .NET server, I highly recommend C#. This
language is great (since it's virtually identical to Java), and it's easy to
maintain your code.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript has fine error setup if done properly plus it has so many builtin components to interact with the server that I'm not aware of in javascript.. (mind you I'm talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for

server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool
for the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
> When I create new documents in Dreamweaver, there are several
choices for
> ASP creation:
> ASP javascript: run at client side??
> ASP vbscript: run at server side??
> ASP.NET C#
> ASP.NET VB
>
> I don't understand the differences between ASP JavaScript and ASP
VBScript??
> Because JavaScript is client-side technology, and ASP is server side
> technology. I think VBScript is used to implement ASP pages.
>
> Here's the header differences from the code generator:
> <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
>
> If I put the following in both ASP JavaScript and ASP VBScript, it

works > both. But this is JavaScript.
> <SCRIPT>
> <!--
> d = new Date();
> document.write (d);
> //-->
> </SCRIPT>
>
>
> Please advise,
> John
>
>
>
>
>
>



Jul 19 '05 #5

P: n/a
But that's a beast of a different color...

And yes I agree... C# with ASP.NET is a wonderful platform. I have shifted
to it almost 100% myself.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"mStar" <ms***@hotmail.com> wrote in message
news:OB*******************@news04.bloor.is.net.cab le.rogers.com...
If you're working off of a .NET server, I highly recommend C#. This
language is great (since it's virtually identical to Java), and it's easy to maintain your code.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript

has
fine error setup if done properly plus it has so many builtin components

to
interact with the server that I'm not aware of in javascript.. (mind you

I'm
talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code, but I'm interested in your reasons for not liking JavaScript for

server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
> both can be used as serverside and both can be used clientside.
> VBScript clientside will only work with IE and is not ASP related.
> Javascript on the Server is uncommon and in my opion not a good tool for the
> job.
>
> Personally I always use VBScript for ASP and javascript for clientside > coding.
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
> Owner/Lead Designer, DF-Software
> http://www.Darkfalz.com
> ---------------------------------------------------------
> ..Offering free scripts & code snippits for everyone...
> ---------------------------------------------------------
>
>
> "John Davis" <jr*******@hotmail.com> wrote in message
> news:ed**************@TK2MSFTNGP10.phx.gbl...
> > When I create new documents in Dreamweaver, there are several choices for
> > ASP creation:
> > ASP javascript: run at client side??
> > ASP vbscript: run at server side??
> > ASP.NET C#
> > ASP.NET VB
> >
> > I don't understand the differences between ASP JavaScript and ASP
> VBScript??
> > Because JavaScript is client-side technology, and ASP is server side > > technology. I think VBScript is used to implement ASP pages.
> >
> > Here's the header differences from the code generator:
> > <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> >
> > If I put the following in both ASP JavaScript and ASP VBScript, it

works
> > both. But this is JavaScript.
> > <SCRIPT>
> > <!--
> > d = new Date();
> > document.write (d);
> > //-->
> > </SCRIPT>
> >
> >
> > Please advise,
> > John
> >
> >
> >
> >
> >
> >
>
>



Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.