Inverting back the inversion of control or, continuations versus page-centric programming

Inverting back the inversion of control or, continuations versus page-centric programming
复制标题

反转控制反转或延续与以页面为中心的编程

DOI:
--
复制
发表时间:
2003
期刊:
SIGP
影响因子:
--
通讯作者:
C. Queinnec
C. Queinnec
中科院分区:
--
文献类型:
--
作者:
C. Queinnec

文献摘要

被引文献

相似文献

我们的论点是,具有连续性的编程Web应用程序优于当前以页面为中心的技术。延续是代表程序的其余部分的程序级可管理值。 “下一步要做什么”正是必须明确编码的内容,以便编程非琐碎的Web交互。连续性允许Web应用程序以直接样式编写,即作为一个单个程序,显示形式并读取表单提交,因为延续自动捕获了恢复计算所需的所有内容(控制点,词汇绑定等)。因此,编程更安全,更容易,更可重复使用。
Our thesis is that programming web applications with continuations is superior to the current page-centric technology. A continuation is a program-level manageable value representing the rest of the computation of the program. "What to do next" is precisely what has to be explicitly encoded in order to program non trivial web interactions. Continuations allow web applications to be written in direct style that is, as a single program that displays forms and reads form submission since continuations automatically capture everything (control point, lexical bindings, etc.) that is needed to resume the computation. Programming is therefore safer, easier and more re-usable.