Back to Search Start Over

Declarative programming of integrated peer-to-peer and Web based systems: the case of Prolog

Authors :
Loke, Seng W.
Source :
The Journal of Systems and Software. April, 2006, Vol. 79 Issue 4, p523, 14 p.
Publication Year :
2006

Abstract

To link to full-text access for this article, visit this link: http://dx.doi.org/10.1016/j.jss.2005.04.005 Byline: Seng W. Loke Keywords: Prolog; Integration; Logic programming; Web computing; Peer-to-peer computing; Declarative programming Abstract: Web and peer-to-peer systems have emerged as popular areas in distributed computing, and their integrated usage permits the benefits of both to be exploited. While much work in these areas have utilized the imperative programming paradigm, the need for declarative programming paradigms is increasingly being recognized, not only for the often cited advantages such as a higher level of abstraction and specialized language features, but also to tackle the querying and manipulation of knowledge and reasoning with semantics that will be the mainstay of the proposed next generation of the Web and peer-to-peer computing. This paper presents an approach towards integrative use of the Web and peer-to-peer systems within a declarative programming paradigm. We contend that logic programming can be useful in peer-to-peer computing, especially for querying and representing knowledge shared over peer networks, and for scripting applications that involve sophisticated search behaviour over peer networks. As an example of peer-to-peer querying expressed in a logic programming language, we propose a simple extension of Prolog, which we call LogicPeer, to enable goal evaluation over peers in a peer network. Using LogicPeer, we outline how a peer-to-peer version of a Yahoo-like system can be built and queried, and several other applications that involve decentralized knowledge sharing. We then show how LogicPeer can be used with LogicWeb, a Prolog extension to access Web pages, thereby integrating peer-to-peer querying and Web querying in a common declarative framework. Author Affiliation: School of Computer Science and Software Engineering, Monash University, 900 Dandenong Road, Caulfield East, Melbourne, Vic. 3145, Australia Article History: Received 20 August 2003; Revised 6 April 2005; Accepted 6 April 2005

Details

Language :
English
ISSN :
01641212
Volume :
79
Issue :
4
Database :
Gale General OneFile
Journal :
The Journal of Systems and Software
Publication Type :
Academic Journal
Accession number :
edsgcl.198029219