Jump to content

ATL Server

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Seizethedave (talk | contribs) at 23:05, 22 December 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

ATL Server is a technology for developing web based applications. It uses a tag replacement engine written in C++ to render web pages. It draws on the existing technologies like ISAPI and the Active Template Library. It includes a template library which is dedicated for use with developing Web-based applications. ATL Server first appeared with Visual Studio .NET 2003.

A typical ATL server application consists of at least one ISAPI extension DLL along with one or a number of Server Response Files (.srf) and their associated application DLL files which provide the application functionality.

SRF Files

SRF files can contain a mix of HTML and script tags. SRF script tags are denoted by the {{ opening and }} closing braces.

A single SRF file may call code from a number of application DLLs. Similarly, a single application DLL may serve a number of SRF files.

The simplest SRF file must contain a one or more references to application DLLs and one or more calls to a functions within those DLLs. A simple SRF file would look something like this:

{{handler ATLServerHelloWorld.dll/Default}}
<html>
<body>
{{HelloWorld}}
</body>
</html>

The first line of the file:

{{handler ATLServerHelloWorld.dll/Default}}

is used to identify an application DLL file that the SRF file will make calls to.

Within the file, function calls would look like this:

{{HelloWorld}}

References