arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1409.7256cs.GRcs.HC
收藏

交互式图形的反应式编程

Reactive Programming for Interactive Graphics

Yihui Xie, Heike Hofmann, Xiaoyue Cheng

摘要:

开发交互式统计应用程序的一大挑战是数据管道的管理,它控制从数据到绘图的转换。用户的交互需要通过这些模块传播,并快速反映在输出表示中。每个单独的模块可能很容易开发和管理,但依赖关系结构可能相当具有挑战性。MVC(Model/View/Controller)模式试图通过将用户的交互与数据的表示分离来解决这个问题。在本文中,我们讨论了反应式编程的框架中的MVC架构的范例,并显示其适用于交互式图形。在这种模式下,开发人员受益于用户交互与图形表示的分离,这使得用户和开发人员更容易扩展交互式应用程序。我们展示了反应式数据对象在交互式图形系统中的核心作用,该系统作为R包cranvas实现,该软件包可在GitHub上免费获得,主要开发人员包括本文的作者。

英文摘要:

One of the big challenges of developing interactive statistical applications is the management of the data pipeline, which controls transformations from data to plot. The user's interactions needs to be propagated through these modules and reflected in the output representation at a fast pace. Each individual module may be easy to develop and manage, but the dependency structure can be quite challenging. The MVC (Model/View/Controller) pattern is an attempt to solve the problem by separating the user's interaction from the representation of the data. In this paper we discuss the paradigm of reactive programming in the framework of the MVC architecture and show its applicability to interactive graphics. Under this paradigm, developers benefit from the separation of user interaction from the graphical representation, which makes it easier for users and developers to extend interactive applications. We show the central role of reactive data objects in an interactive graphics system, implemented as the R package cranvas, which is freely available on GitHub and the main developers include the authors of this paper.

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

↑