Web Application Server Overview

Web Application Server

Alpha Five Version 6 introduced the Web Application Server. The Web Application Server extends Alpha Five from the desktop and Intranet to the Internet. The Web Application Server now makes it extremely easy for you to build data-driven web applications.

Overview

The Web Application Server responds to client requests for web pages containing Xbasic code. This Xbasic code can do anything that a global script can do, including: [Picture]

Architecture

Normally, to provide web access to a database requires at least three components, typically from different vendors.

To implement such an architecture often requires licenses from three different vendors and results in complex integration tasks. The Alpha Software solution provides these components in a single easy-to-manage and inexpensive package.

Developing Applications for the Web Application Server

Web Application Server applications are composed of HTML pages with embedded Xbasic code. The Web Application Server translates and interprets the Xbasic code, retrieves data from the Alpha Five database or external databases (by using ADO), and serves up HTML pages to the clients. Embedded forms on the pages allow the client to send data back to the Web Application Server, allowing your application to edit or enter records into a database.

The contents of a typical page might look like this. The embedded Xbasic code is surrounded by the <%A5 and %> character sequences.

<HTML>

<HEAD><TITLE>Hello World</TITLE></HEAD>

<BODY>

<H3>Hello World</H3>

The time is <%A5 ? time("h:m am") %>

</BODY>

</HTML>

There are several important features illustrated here.

The result is the ability to create interactive pages that present the client user with HTML pages that can interact with the Alpha Five database, as if they were local forms or browses.

Starting and stopping the Web Application Server is as easy as Clicking a button on the Control Panel Toolbar.