Search: in
Active Server Pages
Active Server Pages Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Active_Server_Pages Email this to a friend      Active_Server_Pages


Active Server Pages

Active Server Pages (ASP) is Microsoft's first server-side script engine for dynamically-generated web pages. It was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack, but has been included as a free component of Windows Server since the initial release of Windows 2000 Server.

Programming ASP websites is made possible by various built-in objects. Each object corresponds to a group of frequently-used functions useful for creating dynamic web pages. In ASP 2.0 there are six such built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, is a cookie-based session object that maintains variables from page to page. Web pages with the ".asp" file extension use ASP, although some Web sites disguise their choice of scripting language for security purposes. The ".aspx" extension is not an ASP page, but an ASP.NET page, another server-side scripting language from Microsoft, based on a mixture of traditional ASP, and Microsoft's .NET technology.

Most ASP pages are written in VBScript, but any other Active Scripting engine can be selected instead by using the @Language directive or the <script language="language" runat="server"> syntax. JScript (Microsoft's implementation of ECMAScript) is the other language that is usually available. PerlScript (a derivative of Perl) and others are available as third-party installable Active Scripting engines.

Contents


History

Previously called dbWeb, and created by Aspect Software Engineering, ASP was one of the first web application development environments that integrated web application execution directly into the web server, 9 months after the release of NeXT's (now Apple) WebObjects. This was done in order to achieve high performance compared to calling external executable programs or CGI scripts which was the most popular method for writing web applications at the time it was introduced. Today there are additional platforms for web application development that are more common on other operating systems. Both JavaServer Pages and PHP are more commonly found on webservers running non-Microsoft operating systems, with PHP currently being the more common of the two. Also of note is ColdFusion, a popular Java technology running on several platforms including Microsoft servers as well as other platforms.

Prior to Microsoft's release of ASP for IIS 3, programmers relied on IDC and HTX files combined with ODBC drivers to display and manipulate dynamic data and pages running on IIS. The basics of these file formats and structures were used, at least in part, in the implementation of the early versions of ASP.

InstantASP and ChiliASP are 3rd party products that run ASP on platforms other than the Microsoft Windows operating systems. Chilisoft (the maker of ChiliASP) was purchased by Sun Microsystems and later renamed "Sun ONE Active Server Pages", then later renamed to "Sun Java System Active Server Pages". It appears that InstantASP is no longer available. There are large open source communities on the internet, such as ASPNuke, which produce ASP scripts, components and applications to be used free under certain license terms.

Versions

ASP has gone through three major releases:

  • ASP version 1.0 (distributed with IIS 3.0) in December 1996
  • ASP version 2.0 (distributed with IIS 4.0) in September 1997
  • ASP version 3.0 (distributed with IIS 5.0) in November 2000

ASP 3.0 is currently available in IIS 6.0 on Windows Server 2003 and IIS 7.0 on Windows Server 2008.

ASP.NET is often confused as the newest release of ASP, but the technologies are very different. ASP.Net relies on the .Net Framework and is a compiled language, whereas ASP is strictly an interpreted scripting language.

The move from ASP 2.0 to ASP 3.0 was a relatively modest one. One of the most important additions was the Server.Execute methods, as well as the ASPError object.[1] Microsoft's What's New in IIS 5.0 lists some additional changes.

There are solutions to run "Classic ASP" sites as standalone applications, such as ASPexplore, a software package that runs Microsoft Active Server Pages offline.

Sample usage

Any scripting languages compatible with Microsoft's Active Scripting standard may be used in ASP. The default scripting language (in classic ASP) is VBScript:

<html>
<body>

</body>
</html>

Or in a simpler format

<html>
<body>

</body>
</html>

The examples above print "Hello World!" into the body of an HTML document.

Here's how to connect to an Access Database

[2]

References

External links

ar:????? ???? ???? az:ASP bs:ASP ca:Active Server Pages cs:Active Server Pages da:Active Server Pages de:Active Server Pages es:Active Server Pages eo:Aktivaj Servilaj Pa?oj eu:Active Server Pages fa:???? ??? ???? ???? fr:Active Server Pages gl:Active Server Pages id:Active Server Pages is:ASP it:Active Server Pages he:Active Server Pages hu:Active Server Pages ms:Active Server Pages nl:Active Server Pages ja:Active Server Pages no:Active Server Pages uz:ASP pl:Active Server Pages pt:ASP ru:Active Server Pages sk:Active Server Pages sr:ASP fi:ASP sv:Active Server Pages th:??????? tr:ASP uk:Active Server Pages zh:Active Server Pages





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article


Search for Active Server Pages in Tutorials
Search for Active Server Pages in Encyclopedia
Search for Active Server Pages in Dictionary
Search for Active Server Pages in Open Directory
Search for Active Server Pages in Store
Search for Active Server Pages in PriceGig


Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Active Server Pages
Active_Server_Pages top Active_Server_Pages

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement