In this and the next part of this five-part series, we look at the code for a simple example of Active Client Pages that uses Chrys’s Approach. We shall use this example to demonstrate how browsers respond to ACP. This example was described in the previous part of the series. To save time and writing space, I will not repeat the description here.
ACP and Browsers: Setting up an Example (Page 1 of 4 )
Tools used
Here I talk about the tools I used in the example. I use a personal web server called Abyss Web Server X1. I use Active Perl Interpreter. You can download these or similar tools free from the Internet (use the search engines).
I used the browsers mentioned in the previous part of the series. Note that the main aim of the series is to see how far each of these browsers responds to the features of ACP. The example described here will be used to test these browsers.
Since I use a personal web server, each link begins with “http://localhost/.” For your actual server, you can change this to “http://www.mywebsite.com.”
The Directories and Files
The files are windowPhaseSimpleExample.htm, sendPge1Str.pl, sendPge2_1Str.pl, sendPge2_2Str.pl, sendPge3Doc0Str.pl, sendPge3Doc1Str.pl, sendWinPge3Str.pl and sendWinPge4Str.pl. So, as you can see there is one HTML file and seven Perl files.
The HTML file will be the master page. It is in the root directory of the site in the server. The Perl files are in the cgi-bin directory. We shall see the use of these files as we go along.