Visual Prolog 7 TutorialsWriting CGI Applications in Visual PrologWritten by Sabu Francis IntroductionThis tutorial is written in a question and answer format. The entire tutorial will have to be read linearly. The tutorial has two sections: Basics and Advanced. The structure of the reading material is intuitive: As you read the tutorial, you would encounter new concepts/terminologies. These get explained in sub-sections of the tutorial as soon as possible. Note that CGI support is available only in the Commercial Edition of Visual Prolog. What are the pre-requisites for this tutorial?You should be familiar with basic programming in Visual Prolog Concepts of class, interface, objects, etc. are not taught here. Neither are Prolog concepts of backtracking, clauses, predicates, etc. taught. It is assumed that you are familiar with all those. The examples developed in this tutorial do NOT depend on the creation of objects of any class, so it should be easier for those who are not familiar with object-oriented languages. The final example uses Javascript for client side processing. It uses the object oriented features of Javascript. The reader of this tutorial is assumed to be familiar with this aspect of Javascript, at least. A good place to pick-up the object-oriented features of Javascript is http://www.webreference.com/js Three example CGI applications mentioned in this tutorial are included into cgitutorial.zip file. If you do not have a web server installed at your computer, you can use the TinyWeb web server that is also included in the zip file.
NoteIf you use previous versions of Visual Prolog, see |
|
|