VSL 2014: VIENNA SUMMER OF LOGIC 2014

Pengines: Web Logic Programming Made Easy

Authors: Torbjörn Lager and Jan Wielemaker

ICLP VolumesPapersPapers with AbstractsPrefaceAuthor IndexKeyword Index

Paper Information

Title:Pengines: Web Logic Programming Made Easy
Authors:Torbjörn Lager and Jan Wielemaker
Proceedings:ICLP 2014 VSL proceedings
Editors: Michael Leuschel, Tom Schrijvers and Martin Gebser
Keywords:web programming, query languages, agent programming, distributed programming
Abstract:

ABSTRACT. When developing a (web) interface for a deductive database, functionality required by the client is provided by means of HTTP handlers that wrap the logical data access predicates. These handlers are responsible for converting between client and server data representations and typically include options for paginating results. Designing the web accessible API is difficult because it is hard to predict the exact requirements of clients. Pengines changes this picture. The client provides a Prolog program that selects the required data by accessing the logical API of the server. The pengine infrastructure provides general mechanisms for converting Prolog data and handling Prolog non-determinism. The Pengines library is small (1,500 lines Prolog, 100 lines JavaScript). It greatly simplifies defining an AJAX based client for a Prolog program, but also provides non-deterministic RPC between Prolog processes as well as interaction with Prolog engines similar to Paul Tarau's engines. Pengines are available as a standard package for SWI-Prolog~7.

Pages:13
Talk:Jul 19 16:30
Paper:
Disclaimer | Powered by EasyChair Smart Program