i'm no web dev, so i have no idea.
what's the difference? can i use them interchangeably?
i want to get into web development, and i'm already familiar with vb, and i'm sorta confused by the "curly bracet" syntax of java.
so which should i go with?
-
-
if you know vb go that way
most all ive learned is from altering/hacking free code downloaded that i never made
most of the easiest of that is javascript - (to me)
i dont know c or java or script or ajax or ruby or any of it
i use what i find - that i can make work local - then alter it - usually completely
i have no idea how it works - but if it works when its given to me - my skill is to alter it without breaking it - and i can do that
(thats why i hate the new msdn code snippets instead of DOWNLOAD THIS ONE PAGE WORKING SAMPLE
-
Don't use VBScript, as IE is the only browser that supports it. You should use the much better supported javascript, which despite its name and somewhat similar syntax does not actually have any relation to Java.
The name javascript was simply chosen for marketing purposes. Java and javascript are quite far removed in basic concepts: java is a strongly typed class-based language, while javascript is a loosely typed prototype-based language. -
ms uses javascript all over its site
i havent checked recently - but i learned about using client side includes by noticing the header.js lang.js ms used at microsoft.com
of course ben slivka was working on J+ at that time ...but i digress.. ha -
pringles wrote:i'm no web dev, so i have no idea.
what's the difference? can i use them interchangeably?
i want to get into web development, and i'm already familiar with vb, and i'm sorta confused by the "curly bracet" syntax of java.
so which should i go with?
After using C-style languages (the "curley braces language": Java, Javascript, C, C++, C#, etc) as well as more verbose languages like VB, I can say I prefer it to VB.
Anyway, Javascript is waaay better than VBS, VBS only exists for those who aren't well-versed developers but who want to slap together useful scripts in a short amount of time.
Anyway, as Sven said, only IE supports VBScript, so you're better off with Javascript ("JScript" is Microsoft's interpretation of the ECMAScript standard)
-
blatzcoder wrote:
Is that the old "eat your own dogfood" concept? I wonder if their developers are forced into using it, or if they would use something else if they could (what, I don't know).
jamie wrote: ms uses javascript all over its site
MS didn't invent javascript. That honour befalls Netscape.
The language actually isn't the difficulty when programming Javascript (it's fairly simple). It's the HTML document object model (DOM) and most importantly the differences between browsers in the DOM that makes it difficult. Fortunately the situation is already much better than back in the Netscape 4 days, and most browsers today support at least W3C DOM Level 1 and some of Level 2 as well. -
W3bbo wrote:After using C-style languages (the "curley braces language": Java, Javascript, C, C++, C#, etc) as well as more verbose languages like VB, I can say I prefer it to VB.
Purely personal preference. I've been programming C++ for eight years now and also use many other C-style languages including C#, Java and indeed Javascript and I still prefer the VB syntax.
But for God's sake, let's not turn this thread in a VB vs. C-derived religious war.
-
well its about the web - xml?aspx?zaml? haha
i hope html, asp, js dont disappear too quick!

-
jamie wrote:i hope html, asp, js dont disappear too quick!

With the current Ajax "Web 2.0" (yegh, I hate that term) hype, I expect javascript usage will continue to increase drastically in the near future.
Which is fine with me as long as you make sure the page also works with javascript disabled. -
First, simply because the fastest way to end a two-way argument is to turn it into a three-way argument, let me say I prefer Pascal-style syntax--particularly that of Modula-3, a lovely little language that never saw much light beyond the bowels of DEC. I really appreciate all the details that make it easiers to read; consider the variable declaration format
var name: type := value;
and how nicely it maps onto the way most dictionaries are laid outword type definition
*sigh*
Anyways... go with Javascript. You'll get a lot more use out of it as you do more web development. Unless of course we all start talking about AVAX or AVBAX, neither of which sound really appealing. -
well he didn't say he wanted vbscript or javascript for the client side.
If you are writing classic ASP you can use either VBscript or Javascript on the server side and it makes no difference. You will find more resources for VBscript than Javascript on the server side and more resources for Javascript on the client side -
maybe the question should be:
what is the most available - free - easy - downloadable stuff to develop with as base for the web?
or - if writing it yourself - its your own skill that says? -
RE: blindlizard: That's very true, but I think there's a presumption that if someone is starting out in a new field, they're probably more interested in the current mainstream technologies, so classic ASP probably isn't worth investing a lot of time on necessarily. Plus most people who are begining in web development tend to be drawn to the client side first, because that's most the most obvious thing people notice and it provides a gradual introduction into programming.
Not saying you're wrong, just adding some perspective. -
Yes, but when most people talk VBscript vs Javascript, they are takinging server side.BryanF wrote:RE: blindlizard: That's very true, but I think there's a presumption that if someone is starting out in a new field, they're probably more interested in the current mainstream technologies, so classic ASP probably isn't worth investing a lot of time on necessarily. Plus most people who are begining in web development tend to be drawn to the client side first, because that's most the most obvious thing people notice and it provides a gradual introduction into programming.
Not saying you're wrong, just adding some perspective.
-
jamie wrote:maybe the question should be:
what is the most available - free - easy - downloadable stuff to develop with as base for the web?
Ruby on Rails!
-
W3bbo wrote:Anyway, Javascript is waaay better than VBS, VBS only exists for those who aren't well-versed developers but who want to slap together useful scripts in a short amount of time.
No... VBS exists for server-side scripting, of classic ASP.
However... when it comes to the client... as everyone else says...
While it's possible to support VBS on the client side, only IE will play that game, so you should use J/ECMAscript on the client side, if you want your page to work with anything other than IE. -
Learn JavaScript if you are going to be a web application developer or for that matter a web designer.
Forget about VB Script unless you are doing classic ASP.
Learn either C# or VB.NET if you are going to do ASP.NET.
Raymond
Web Application Developer and Web Designer
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.