Visual Prolog Examples of WEB Applications
Where to Find Additional Information about Demo
Examples and Real-World Visual Prolog CGI Applications?
Visual Prolog Examples of WEB Applications
The [WWW] directory includes two groups of examples:
- Demo examples of WEB applications from the <VIP_root>\WWW\INETPUB\CGIsamp sub-directory.
These CGI examples are created from some of simple Prolog example programs
supplied with Visual Prolog. The examples are shipped with executables.
You can run these ready-to-use examples at your local server, or examine and
modify the source code of these examples.
How to run Visual Prolog WEB
demo examples?
- CgiTest and other examples from the [WWW] directory that
are supplied in the form of projects without executable files. You need to build a
project first and then run an example at your server.
How to run WEB
Examples that
are supplied in the form of projects?
How to Run Visual Prolog WEB Demo Examples from the CGIsamp Sub-directory?
To run Web applications from the <VIP_root>\WWW\INETPUB\CGIsamp directory at your local computer, you need to
fulfill the
following steps:
- Install MS Personal WEB server.
- Copy the content of <VIP_root>\WWW\INETPUB\CGIsamp directory
into your server directory (e.g., Inetpub\wwwroot\CGIsamp).
- Provide the possibility to run executables from this directory.
There are several ways to do it:
- Use the "Advanced Options" item in the Personal WEB server.
- Start a browser that supports forms.
- Load http://<your server name>/cgisamp/index.htm.
- Run examples.
Where to Find the Source Code of Demo Examples of WEB Applications?
The source code of the WEB demo examples is located in the <VIP_root>\WWW\CGI\Samples
sub-directory.
How to Run CgiTest and Other Visual Prolog WEB
Examples that
are Supplied in the Form of Projects?
To run CgiTest and other examples from the WWW directory that
are supplied in the form of projects without executable files, you need to build a
project first.
For example, to run the CgiTest example you need to fulfill the
following steps:
- Load CgiTest example (<VIP_root>\WWW\CGI\Test\CgiTest. PRJ) into Visual Prolog VDE.
- In the
Application Expert choose "Other Options" tab.
Click "Project Directories" and then
choose "Output" tab.
You will see that CgiTest.exe file will be placed into <VIP_root>\WWW\INETPUB\CGIsamp directory.
3. Build your project.
4. Copy CgiTest.exe
together with CgiTest.htm from <VIP_root>\WWW\INETPUB\CgiTest directory into your server
directory (e.g., INETPUB\wwwroot\CgiTest).
5. Provide a possibility to run
CGI applications from your server directory .
6. Start any browser that supports forms.
7. Load CgiTest.HTM:
//cgitest/cgitest.htm"http://<your server name>//cgitest/cgitest.htm.
<http://<your server name>
Where to Find the Source Code of ESTA, Geni, License, and Pie Examples?
Projects for ESTA, Geni, License, and Pie examples are located in the
\WWW\Programs sub-directory.
You will find a detailed description of ESTA example in
the <VIP_root>\WWW\Programs\Esta\ReadMe.htm.