Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get started with web development 3

Status
Not open for further replies.

VB400

Programmer
Sep 8, 1999
359
US

I would really like to start developing web apps and I have no idea where to start. I hear terms like IIS, ASP, VBScript, XML, etc. but I don't quite understand how they all fit together. I'm looking for a book that will guide me through this starting from A (not in the middle of the alphabet).

I would like to develop "Hearty" apps, with database access and possibly e-commerce, etc.

- Is VB a good tool for the job?
- Do I need Visual InterDev?
- Do I need FrontPage?
- Are ASP and IIS products or framework?

As you can tell from these questions, I'm really lost :eek:)

If you have any recommendations I would really appreciate it!
[sig][/sig]
 
Personally I use Visual Interdev for development and overall I like it quite a bit. I am just getting started so the fact that it does a lot of stuff for you is nice. I can see that eventually a person would probably start to move away from some of those time savers to your own code, but for now it is nice.

I do not know how well VB works for web apps, although my understanding is that you can develop components with VB that you can then utilize in your web applications. So if there is some functionality you need to implement over and over again you can make the component to do so. Although I admit I know fairly little about this as I have not ventured down that road yet.

If you use Visual Interdev you will need to have front page extensions on the web server. IIS is a web server and I am sure that people who know more about it than I will tell you that it is even more than that.

My understanding of ASP (Active Server Pages) is that you write code in VBScript or some other scripting language. The code is interpreted on the web server when a request for the page is made. When the code is interpreted it results in HTML pages sent back to the requesting browser.

There are a large number of sites out there about ASP do a search on this forum and you will find quite a few suggestions. If you decide to use Visual Interdev 6 I used Using Visual Interdev by Que books to get started and it introduces the IDE very well and got me started on ASP.

Hope this helps. :-V [sig]<p>Crystal<br><a href=mailto:crystals@genesis.sk.ca>crystals@genesis.sk.ca</a><br><a href= > </a><br>--------------------------------------------------<br>
Experience is one thing you can't get for nothing.<br>
-Oscar Wilde<br>
[/sig]
 
You've just addressed a bunch of things which it would be hard to learn all at once. The central element in what you have described above is asp itself. Here's a rundown of the things you mentioned:


Asp is a server side technology which allows you to embed scripts into pages on a server. Scripts are (usually small) blocks of programming code. Therefore asp is similar in principal to other technologies like PHP, CGI/perl, and cold-fusion. Asp scripts allow you to customize the (HTML) output of the page the script is in. Furthermore, since asp can interact with ADO (a microsoft database interface) as well as with the local file system, you can retrieve content from or write content to databases, files, and so on. You can also interact with any of variety of components which are basically separate programs residing on the same server as the asp page and which are either available from third party vendors or which you can create yourself. Asp can also interact with programs residing elsewhere through a technology called DCOM.

VBScript is a simple scripting language which is the typical choice for writing the scripts contained in an asp page. (It is probably also the simplest scripting language in existence). The term &quot;scripting language&quot; refers to a usually lightweight programming language which is compiled on the fly at the moment it is needed by a runtime engine rather than being compiled into a more formal executable file (like you would do with C, C++, pascal, fortran, ada, VB, smalltalk, etc.) In an asp page the &quot;script&quot; parts of the page are always enclosed with <% %> tags.
Thus, a very simple asp page would look like:

<html>
<%
for i = 1 to 3
[tab]response.write(&quot;hello<br>&quot;)
next
%>
</html>

and a user broswing this page would see:

hello
hello
hello


VB (Visual Basic )is a general purpose programming language created by Microsoft. Its principal use in asp is, as crystalized pointed out above, to write components. A component is a precompiled piece of code which can be called by an asp script so that the code does not have to be in the asp script itself. Components in the context of asp are also called COM objects (Component Object Model) and can be written in VB, C++, java, or whatever. (I haven't tackled C++ myself but I have worked with COM in VB and java.) You don't need to worry about COM if you are just starting.

Visual Interdev is just an editing program and is not specifically necessary since you could write asp pages in notepad or any other text editor you want. I have Interdev/VisualStudio but I usually use Cold-Fusion studio instead because it doesn't require front-page for ftp access and I find it less interfering with my coding.

XML is structured form of data handling and storage which is often compared to HTML (although I think it has very little to do with HTML and much more to do with traditional markup languages which define data types and relationships). I've been finding lately that XML is rather handy in asp. However, though it is a useful tool, it is not necessary and might be more confusing if you are just getting started. I would wait until you get the basics of asp down at which time it will become clear where XML fits in.

IIS is a type of server software. Strictly speaking, a server is just a program which is able to respond to requests of a certain type. When referring to the internet, however, the term server loosely means: a computer which has a particular server software running on it. IIS (Internet Information Server) is a typical choice to install on a computer running the Microsoft NT operating system. Different platforms have different softwares available (for example on a Unix platform you typically run Apache).

To run asp you have to be on an IIS server or at least on a microsoft platform with a server. If you have any windows machine with personal web server you can run it on there provided that asp was installed when the server was. (you can run asp on Unix but you need some auxiliary software called Chilisoft and I don't see why anyone would bother with that since asp is so proprietary).

So to get started you have to find a machine with a server installed on it which runs asp. Then you should probably go to some sites that have examples for beginners and just try to write tiny little scripts, put them on your server, and see if they work. Gradually (or maybe really quickly) you'll get the idea. Asp, I think is probably the easiest server technology to learn and I like its simplicity.

There's tons of sites which have very simple examples and tutorials on asp. Try doing a search on &quot;asp tutorial&quot; and you'll probably find stuff.
My personal favorite for asp is:

For VBScript reference try:

Good Luck!
[sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
Hi, all of you, there is a good site for anybody who want to learn asp, you can download for free material for all articles of people that are working for a long while and are always visiting the conventions on USA.

If wanna get tutorials, will help you...

Be luck !!!!

jumanja@hotmail.com
[sig][/sig]
 

I thank all of you for your help. It seems that learning ASP will be the first task in this endeavor. I saw a couple of books by WROX publishing that teach ASP so I'll probably start with that and go on from there.

Thanks again! [sig][/sig]
 
you don't need books, just download some code from the internet. try sites like asp101, kathy's asp website, codehound, ect, ect. oops, and of course tek-tips is good too! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top