Simon & Matt's new Photoshop book is out now!

Photoshop CS3 Layers Bible book cover

Sharpen your Photoshop skills today!

PageKits.com Featured PageKits

Metcurve (Wine) PageKit
Metcurve (Wine) ($39.99)


Jungle PageKit
Jungle ($54.99)


See more! > >

 

Tutorial: Introduction to ASP

Level: Beginner. Published on 14 May 2001 in ASP

What is ASP, and what can it do? The basic concepts explained.

ASP stands for Active Server Pages. ASP "pages" are actually scripts that are run, or executed, on the web server. The script is interpreted from top to bottom to create HTML pages that are sent to the browser for display.

ASP architecture
ASP architecture

ASP is a Microsoft technology and so is usually run on Microsoft Web servers - Personal Web Server (PWS) or the industry standard, Internet Information Server (IIS). However, there are products available, such as Sun Java System ASP, which let you run ASP code on other platforms.

When should I use ASP?

ASP is appropriate whenever you want your pages to be created dynamically when the browser requests the page. For example, displaying data that is relevant on a certain date, or storing user data collected from a form. Often, the ASP scripts will query a database and format the data retrieved for display in a HTML page.

ASP is an alternative to CGI programming and it owes much of its popularity to the fact that it is pretty easy to learn, and that once learned it's quick to develop pages using ASP.

What languages can I use to program in ASP?

ASP is a scripting environment rather than a language in itself. Usually ASP pages are written using Microsoft's VBScript, or less often JScript (Microsoft's version of JavaScript), but they can also be written in Perl, with the addition of a Perl scripting engine, or even a combination of different scripting languages.

In these tutorials we'll use VBScript when writing our ASP pages. VBScript is a Microsoft scripting language based on Visual Basic. Basic is one of the easiest programming languages to learn and usually the first that people try - you might even have done some already!

So when do we start?

When developing your HTML pages you can open them in your browser to view them. ASP development is not quite as straightforward as this, because the page has to be run on a Web server to create the HTML. Our next tutorial will describe how to set up a Web server on your PC to develop ASP pages at home.

The end

That's the end of this article. We hope you found it useful. If you're still stuck and would like further help, check out our online Help Forums, where you can get assistance from members of Elated and other webmasters.

Also, don't forget the free ELATED Extra Newsletter, where you can get more great Web-building articles and tips sent straight to your inbox!

If you would like to offer us feedback on this or any of our articles, please contact us. Have fun!

Top of Page

Get our free newsletter!

  • Improve your Web skills
  • Exclusive tips and tricks
  • Free bonus Web template

Sign up now!

We won't give or sell your email address to anyone, and you can unsubscribe at any time. Privacy statement