AbstractThe paper provides a concept of GNU-Prolog integration with PHP using ANSI C socket server as a middleware . There are a few methods of integration of web programming together with CLP proposed so far. The simplest and the most obvious way is to run CLP program in CGI mode, but it has its disadvantages as well. For some appliance CLP programs can have long execution time that could cause web server timeouts. For that reason a new approach is proposed: to separate user interface (web based) from CLP program execution. That goal is achieved by means of socket server written in ANSI C. The socket server controls the execution of the main program and communicates with the GUI application to send the results. According to what was said above, the logic part is run as GNU-Prolog process and the GUI is built with PHP.
The papers published in the ASEJ Journal (alternate title: Zeszyty Naukowe Wyższej Szkoły Finansów i Prawa w Bielsku-Białej) - published by the University of Applied Sciences in Bielsko-Biała, are online open access distributed (Creative Commons Attribution CC-BY-NC 4.0 license). The Publisher cannot be held liable for the graphic material supplied. The printed version is the original version of the issued Journal. Responsibility for the content rests with the authors and not upon the Scientific Journal or Bielsko-Biala School of Finance and Law.