Discussion Locked

Should I learn ASP before VB?

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello All,

I am a college student just starting my curriculum and I wanted to start learning to program over the Holiday.

My question is, would I be at a loss if I were to try to learn ASP before VB? Am I trying to run before I walk or would this be a good/easier way to learn programming methodology? As a side note, my programming experience to date is limited to HTML and rudimentary javascript.

Thanks for your input and have a great holiday!

JP

13 replies

by peyison

JP,

You can use VB Script in ASP pages, so either way you're learning VB. If you're already familiar with HTML it might make sense to start out with ASP. I would recommend however that you learn some of the basic differences between VB and VB Script.

VB is probably a little more complex to get into because you'll have a lot more controls available, and will have to learn about event-driven programming. The main thing you'll be doing with ASP is generating HTML.

Good Luck,

Mike

by bill_h

IMHO, you'll be better off to get a handle on VB first. Understanding the concepts and techniques used in VB - including but not limited to variables, procedures, classes, properties and methods - will give you a leg up on learning ASP.

Admittedly, in ASP you'll use VBScript (which is a subset of Visual Basic), so it may seem that there would less of an hurdle to go with ASP first; but you also have to wrap your head around integrating ASP (and VBScript) into HTML code, while learning about object properties and methods, conditional processing, connections, recordsets, etc.

Keep in mind - with the advent of the .Net framework, VBScript will go away - replaced by Visual Basic. Default control properties and several datatypes will also disappear, necessitating changes to current code.

Learn VB, learn ASP - and study the .Net framework so you will be able to code *now* with an eye towards future compatability and maintainability.

Hope this helps...

by gbworld

This is a wonderful chicken or egg argument. On one hand, learning ASP (the egg) is easier, but, on the other, learning VB (the chicken) first means that you begin to develop some good programming practices before shooting off into coding inline code.

I would say that either direction is fine, but would much rather err on good programming prior to learning the easier coding. So, I would say VB. I reverse this if you have a need to get a website up prior to finishing your education.

If youwant the easy route, take a few minutes to read an article I wrote on asptoday.com (http://www.asptoday.com/articles/20000121.htm). It should give you some brief ideas to help your code. Also of note is a recent article in Visual Basic Programmers Journal on modeling COM applications with ASP (for which I do not have a link, but it was a couple of months ago).

If you run with ASP first, learn to package your code into functions and subs rather than write all of your code inline. There are a couple of reasons. 1) code reuse (maintainability) and 2) ease of migration to VB COM (for performance, scalability and extensibility).

I would still suggest VB first, but learn it object based in an n-tier context for real value.

Gregory A. Beamer
MCP: +I, SE, SD, DBA

by jantkea

This question depends. ASP is a great way to learn and provides much of the basic functionality you can get with VB. However you can package up your business rules into VB objects and as VB is compiled code (ASP is compiled at runtime) it performs much better and is more scalable.

However ASP+ appears to be just VB.net. And the old VBScript which you generally use in ASP is going to cease to exist.

Having said all that the answer to your question: If I were you I would start with ASP you can do as much kewl stuff as you can with VB when starting out. When you find ASP no longer meets your needs then move onto VB.

If you give me some points I would be happy for you to email me directly for help.
jantkea@progressivebiz.com

by shmaltz

I love this argument of pro an con.
I did VB before ASP and I think you are better of this way b/c you may not relize the power of ASP unless you know VB.

by tadimari

VBScript is very easy when compared to VB.Some fundamental knowledge of method invocations coupled with MSDN should give a good head start.Once you are comfortable with this, you can continue with VB that helps you develop more robust applications in ASP.

This discussion is closed to new replies.