PDA

View Full Version : explain asp please.


Phip
08-14-2002, 12:44 AM
ok, i'm trying to figure asp out. i've the basic programing idea. but asp doesn't seem to have anything. such as basic built in functions. is there a asp function list or a site with stuff that teaches more then Response.Write()?

Also, what is this with javascript and VBscript intergrated in asp... or something?

i've been to http://4guysfromrolla.com and i got lost in the navigation - i couldn't find anything.

<% Option Explicit %> - should i just put this on every page or what?

oh... ASP, ASP .NET??? :confused:

oracleguy
08-14-2002, 01:47 AM
Well, there are lots of bulit in functions, under the objects: response, request, server.

As for JScript and VBScript being intergrated... You can use either language. Which ever one you know best. So for example, you choose VBScript, mostly all the ASP coding is with VB syntax and you can use VB functions and methods.

You can put Option Explicit on every page. What it does is makes sure that you dimension (aka define) all your variables. If you don't put Option Explicit on the pages it won't run any differently.

ASP .NET is sorta different/newer version of ASP. It isn't a proven technology yet, but it does look promising. What .NET does is it has a lot more bulit in controls and objects you can use. Visit http://www.asp.net/ for more info on ASP .NET

Phip
08-14-2002, 04:51 AM
interesting.... :thumbsup:

raf
08-14-2002, 08:23 AM
if you've got office 2000 pro, you can also search the mse.exe file. it's a microsoft editor that is perfect for writing ASP code and that contains a good VisualBasic and Javascrips helpfunction (containing all the functions).

oh yeah : always puth <%option explicit%> on top of your pages. I will help you to avoid creating unwanted variables by mistyping existing variables

Phip
08-14-2002, 09:05 AM
sweeet, thanks