• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Javascript or VBscript?

downhiller80

Platinum Member
I'm just starting to learn ASP and I understand I need to use one of the two as my scripting language. My preference is Javascript because I'm also learning C++. What are the pros/cons of each?

Seb
 
JavaScript is "open" while VBScript is Microsoft only. I would go with JavaScript myself.
 
im not sure about netscape handling VB, but i would go with jscript also, its more stablished and its widely supported.






dam(happy hurting)
 
I want to program C# on the PocketPC using .NET. MSDN Magazine is like Playboy to me.
 
You should only need to use JScript/Java Script if you're doing something client side with ASP. If the script is running server side, VBScript will work for both as once it's processed server side, straight HTML is returned to the client.
 
A couple of you are saying that JScript is less MS than VBScript. Am I wrong in thinking that JScript IS microsoft's implementation of JavaScript.

Also I heard it's hardly related to Java at all . . .

Why is there no C++Script? What does "script" mean as such?

Seb
 
With ASP most things are done server side so either script will work and I would think that VBscript would fit in better since ASP, IIS, VBscript are all Microsoft ideas.

Jim
 
Actually both JScript and VBScript work just as well (performance wise). You can even use PERL script in your ASP pages if that's your hearts content. One of the benefits of using JScript is that it has better error trapping capabilities...

 
Since we're dealing with ASP which runs server-side (it will run equally well through nutscrape or IE) I would say VBScript. Client side learning vbscript is a total waste of time since it has limited or no support for nutscrape, but server-side it doesn't matter at all. I would say its worth learning vbscript for the server-side asp because most people writing asp will be using vbscript so its worth becoming accustomed to it. Of course any client-side validation or scripting should be done with Javascript unless you know for sure all clients will be using IE.

The vast majority of people I know who are programming with ASP are doing so with VBscript, I can only think of one guy using javascript for server-side ASP out of all the people I know 🙂
 
Back
Top