INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION

The paper provides a concept of GNU-Prolog integration with PHP using ANSI C socket server as a middleware [8]. 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 disadva...

Full description

Bibliographic Details
Main Author: Rafał Szklarczyk
Format: Article
Language:English
Published: University of Applied Sciences in Bielsko-Biała 2005-07-01
Series:Zeszyty Naukowe Wyższej Szkoły Finansów i Prawa w Bielsku-Białej
Subjects:
Online Access:https://91.241.33.211:443/index.php/asej/article/view/519
_version_ 1797225078623043584
author Rafał Szklarczyk
author_facet Rafał Szklarczyk
author_sort Rafał Szklarczyk
collection DOAJ
description The paper provides a concept of GNU-Prolog integration with PHP using ANSI C socket server as a middleware [8]. 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.
first_indexed 2024-03-09T07:15:32Z
format Article
id doaj.art-6dc4ba6139b1479d982d750dfebbaf8c
institution Directory Open Access Journal
issn 2543-9103
2543-411X
language English
last_indexed 2024-04-24T14:03:18Z
publishDate 2005-07-01
publisher University of Applied Sciences in Bielsko-Biała
record_format Article
series Zeszyty Naukowe Wyższej Szkoły Finansów i Prawa w Bielsku-Białej
spelling doaj.art-6dc4ba6139b1479d982d750dfebbaf8c2024-04-03T10:59:29ZengUniversity of Applied Sciences in Bielsko-BiałaZeszyty Naukowe Wyższej Szkoły Finansów i Prawa w Bielsku-Białej2543-91032543-411X2005-07-0162INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATIONRafał SzklarczykThe paper provides a concept of GNU-Prolog integration with PHP using ANSI C socket server as a middleware [8]. 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. https://91.241.33.211:443/index.php/asej/article/view/519CLPGNU PrologPHPANSI C Sockets
spellingShingle Rafał Szklarczyk
INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
Zeszyty Naukowe Wyższej Szkoły Finansów i Prawa w Bielsku-Białej
CLP
GNU Prolog
PHP
ANSI C Sockets
title INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
title_full INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
title_fullStr INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
title_full_unstemmed INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
title_short INTERMEDIATE TIER FOR GNU PROLOG - PHP INTEGRATION
title_sort intermediate tier for gnu prolog php integration
topic CLP
GNU Prolog
PHP
ANSI C Sockets
url https://91.241.33.211:443/index.php/asej/article/view/519
work_keys_str_mv AT rafałszklarczyk intermediatetierforgnuprologphpintegration