• DocumentCode
    642909
  • Title

    GNU Prolog-PHP multi-tier integration

  • Author

    Szklarczyk, Rafal

  • Author_Institution
    Univ. of Bielsko-Biala, Bielsko-Biala, Poland
  • Volume
    01
  • fYear
    2013
  • fDate
    12-14 Sept. 2013
  • Firstpage
    338
  • Lastpage
    341
  • Abstract
    The paper provides a concept of GNU-Prolog integration with PHP using ANSI C socket server as a middleware. Web application programming becomes more and more important issue. The meaning of HTTP based applications grows together with popularity of the internet. There ware a few methods of integration web programming together with CLP proposed so far. The simplest and most obvious way is to run CLP program in CGI mode, but it has 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. One of popular CLP tools used in general purpose is the GNU-Prolog, besides it is quite well documented and distributed under convenient license too. Together with PHP scripts it could give users powerful and easy to use environment to build web based applications that use CLP technique. The present paper describes the attempt of finding a good way to work PHP together with GNU-Prolog.
  • Keywords
    Internet; PROLOG; middleware; ANSI C socket server; CGI mode; CLP program execution; CLP technique; GNU Prolog-PHP multitier integration; HTTP based applications; Internet; PHP scripts; Web application programming; Web based applications; constraint logic programming; hypertext transfer protocol; middleware; user interface; Browsers; Educational institutions; Logic programming; Sockets; Web servers; ANSI C socket server; CLP; Constraint Logic Programming; GNU-Prolog; PHP; PHP socket client; Prolog; Web application;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Intelligent Data Acquisition and Advanced Computing Systems (IDAACS), 2013 IEEE 7th International Conference on
  • Conference_Location
    Berlin
  • Print_ISBN
    978-1-4799-1426-5
  • Type

    conf

  • DOI
    10.1109/IDAACS.2013.6662701
  • Filename
    6662701