Navigation  without Java Scripts

Q&A about Internet Support in Visual Prolog

How to do Web-Applications in Visual Prolog?
Where can I find an example on how to provide Internet support for an application developed in Visual Prolog?
I saw very interesting examples of WWW programs (cgitest, wwwgeni) that generate dynamic HTML pages and I want to be able to create Web programs. How can I test them with a personal computer?
How to use the CGITEST example?
How to make CGI Scripts in Visual Prolog?
Are there useful Internet tools, developed in Visual Prolog?
How to display HTML pages inside of a Visual Prolog application?
What is JavaClient?
Where to find JavaClient and DbServer?
How to start JavaClient and DbServer?

See also:

Q&A about Examples
Q&A about ESTA

I saw very interesting examples of WWW programs (cgitest, wwwgeni) that generate dynamic HTML pages and I want to be able to create Web programs. How can I test them with a personal computer, under Windows 95?

To run CGI scripts you need one of   WEB Servers for  Windows 95 running on your computer.  Microsoft Personal Web Server works fine on Windows 95. You can download it from www.micrsoft.com.
To test your pages you can use one of the WEB browsers working with forms. (e.g. Netscape Navigator 4.0, Internet Explorer 4.0, etc.).

See also: How to run examples from <Visual Prolog root>\WWW directory?

How to use the CGITEST example?

How to make CGI Scripts in Visual Prolog?

Please, read the following description 

Are there useful Internet tools, developed in Visual Prolog?

..\DEMOS directory includes the following tools:

  1. FTP  Agent provides file transferring using   the FTP-protocol. The FTP Agent connects to the Internet by use of a direct channel to any registered remote host. It can synchronize a given existing directory on the remote host with a particular directory on a local PC by sending or receiving files.  The FTP Agent uses the TCP/IP protocol and the Windows Sockets libraries. The operation system must contain these libraries and have the correct TCP/IP settings. Most problems concern networks that do not have DNS. In this case fill an operation system file "hosts" with the right values. The source code can easily be modified for your purposes. The FTP Agent is a 32-bit application and is well tested under Windows 95 and Windows NT 4.0.
  2. WEB Agent. The Web Agent application can monitor given WEB sites and download the content to your hard disk if anything changes. You can also be notified by E-mail if you like. It is quite a useful tool if you do not want to visit the same homepage over and over again to see if its content has changed. The source code is supplied with an example, so you can examine how to develop web-applications in Visual Prolog.

How to do Web-Applications in Visual Prolog?

Please, read a tutorial: Build a Web-App in 1 Hour!

How to display HTML pages inside of a Visual Prolog application?

If you're interested in displaying HTML pages inside of a Visual Prolog application, see PDC Layout Engine.

What is JavaClient?

The applet JavaClient is a small example of communication between Prolog-written server and Java-written client via sockets.
The role of a server in this communication is played by the  DbServer program. DbServer is a Prolog example of using Message Layer for creating database client-server applications. JavaClient connects to a server and can read and change information in databases that are opened by a server program.

Where to find JavaClient and DbServer?

JavaClient is created for two widespread Java IDE: Symantec Cafe an MS J++.

JavaClient for Symantec Cafe project is placed in the directory
    ...\SockBind\Examples\MsgLayer\JavaCl\SymCafe\
JavaClient for MS J++ project is placed in the directory
      ...\SockBind\Examples\MsgLayer\JavaCl\MSJ\
Server-side program DbServer is placed in the directory
      ...\SockBind\Examples\MsgLayer\DbServer\

How to start JavaClient and DbServer?

  1. Build JavaClient`s classes with the help of appropriate IDE.
    In MS J++ open the   project file JavaClient.mdp;
    in Symantec Cafe open the project file JavaClient.PRJ.
  2. Build DbServer program with the help of Visual Prolog.
    Run DbServer and read its Help information.
  3. Make necessary actions to open databases and set server to listen mode for incoming requests.
  4. Open JavaClient.html file by an Internet browser. Note that now JavaClient works only under Netscape Navigator.
  5. The browser automatically will load JavaClient classes. Now both programs are ready for communication.