Web Design & Development

[ Web Design & Development Topics ]

Active Server Pages (ASP) Defined

ASP in a nutshell:

In more detail:

According to Microsoft, the developer of Active Server pages, the description is, " Active Server Pages (ASP) is an open, compile-free application environment in which you can combine HTML pages, scripts, and Microsoft® ActiveX® server components to create powerful Web-based applications. Active Server Pages offers native support for Microsoft® Visual Basic® Scripting Edition (VBScript) and Microsoft® JScript™, and supports other scripting languages such as REXX, Python, and Perl through Active Scripting plug-ins." Now lets put it in laymans terms.

Active Server Page programming was developed to give developers a way to embed dynamically interpreted code into HTML which would process the pages at the server before sending it to the recipient. This means that based on the users actions, the server would be able to decide what to send to them. The user would only see the results that the server chose. Prior to ASP this type of thing could only be done with Server Side Includes (SSI) or CGI [described below]. ASP programming is particularly strong in allowing interaction with datatbases such as Microsoft Access, Microsoft SQL server, Oracle, and others. As Lycos WebMonkey notes, "ASPs are server-generated pages which can call other programs to do things like access databases, serve different pages to different browsers - basically, anything we used to do with CGI." Web Developers Virtual Library describes it as, "an ASP page at its core is simply a text file that has been named using the extension .asp and which contains HTML and scripting. Scripting, usually in VBScript provides a means to embed programmatic logic into HTML files that will be dynamically interpreted as the HTML page goes through the web server and also provides access to any server side object."

A point of clarification is that ASP is not actually a programming language, but instead is a scripting environment. CNet Builder.com states, "we are used to thinking in terms of languages, but ASP does not fit that model. Although we talk about ASP scripts, ASP is not a language. Instead, Microsoft refers to it as a server-side scripting environment. To work in that environment, ASP coders commonly use VBScript or JScript, both of which are automatically supported by ASP."

Historically, an significant issue with Active Server Pages is that they would only run on Microsoft IIS web servers. However, there are now add-ons you can purchase for other platforms such as Apache. In many cases though these add-ons will come at a cost.

How Does ASP Differ from HTML?

You cannot view the ASP source code by selecting "View source" in a browser, you will only see the output from the ASP file, which is plain HTML. This is because the scripts are executed on the server before the result is sent back to the browser.

What can ASP do for you?

ASP.net

What is ASP+?

What is ASP .NET?

.NET Framework