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

基于ER的声明式Web编程框架

An ER-based Framework for Declarative Web Programming

Michael Hanus, Sven Koschnicke

摘要:

我们描述了一个框架,以支持旨在操纵存储在关系数据库中的数据的基于Web的系统的实现。由于关系数据库的概念模型通常被指定为实体关系(ER)模型,因此我们建议使用ER模型来在声明性程序设计语言Curry中生成完整的实现。此实现包含创建和操作数据模型实体的操作,支持身份验证、授权、会话处理以及对用户进程的各个操作的组合。此外,该实现确保了数据库w.r.t. ER模型中指定的数据依赖关系,即,由用户发起的更新不会导致数据库的不一致状态。为了生成一个高层次的声明性实现,可以很容易地适应个别客户的要求,该框架利用以前的作品声明性数据库编程和Web用户界面建设咖喱。

英文摘要:

We describe a framework to support the implementation of web-based systems intended to manipulate data stored in relational databases. Since the conceptual model of a relational database is often specified as an entity-relationship (ER) model, we propose to use the ER model to generate a complete implementation in the declarative programming language Curry. This implementation contains operations to create and manipulate entities of the data model, supports authentication, authorization, session handling, and the composition of individual operations to user processes. Furthermore, the implementation ensures the consistency of the database w.r.t. the data dependencies specified in the ER model, i.e., updates initiated by the user cannot lead to an inconsistent state of the database. In order to generate a high-level declarative implementation that can be easily adapted to individual customer requirements, the framework exploits previous works on declarative database programming and web user interface construction in Curry.

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

↑