arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0312031cs.DCcs.PL
收藏

使用(Ciao-)Prolog和PiLLoW库的分布式WWW编程

Distributed WWW Programming using (Ciao-)Prolog and the PiLLoW library

Daniel Cabeza, Manuel V. Hermenegildo

摘要:

我们讨论了从实际的角度来看,一些问题涉及到分布式互联网和WWW应用程序使用LP/CLP系统。我们描述PiLLoW,一个公共领域的互联网和WWW编程库LP/CLP系统,我们设计,以简化编写此类应用程序的过程。PiLLoW提供了访问WWW上的文档和代码的工具;解析、操作和生成HTML和XML结构化文档和数据;生成HTML表单;编写表单处理程序和CGI脚本;以及处理HTML/XML模板。PiLLoW的一个重要贡献是将HTML/XML代码(以及WWW页面的内容)建模为术语。PiLLoW库是在Ciao Prolog系统的背景下开发的,但它已经适应了许多流行的LP/CLP系统,支持其大部分功能。我们还描述了使用并发性和客户端-服务器交互的高级模型,Ciao Prolog的活动模块,在WWW编程的背景下。我们提出了一个解决方案,客户端下载和执行的Prolog代码,使用通用浏览器。最后,我们还提供了一个概述的相关工作的主题。

英文摘要:

We discuss from a practical point of view a number of issues involved in writing distributed Internet and WWW applications using LP/CLP systems. We describe PiLLoW, a public-domain Internet and WWW programming library for LP/CLP systems that we have designed in order to simplify the process of writing such applications. PiLLoW provides facilities for accessing documents and code on the WWW; parsing, manipulating and generating HTML and XML structured documents and data; producing HTML forms; writing form handlers and CGI-scripts; and processing HTML/XML templates. An important contribution of PiLLoW is to model HTML/XML code (and, thus, the content of WWW pages) as terms. The PiLLoW library has been developed in the context of the Ciao Prolog system, but it has been adapted to a number of popular LP/CLP systems, supporting most of its functionality. We also describe the use of concurrency and a high-level model of client-server interaction, Ciao Prolog's active modules, in the context of WWW programming. We propose a solution for client-side downloading and execution of Prolog code, using generic browsers. Finally, we also provide an overview of related work on the topic.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑