简化组件与actor和数据库的交互

W. Ke, Lap-Man Hoi, Ka-Meng Siu
{"title":"简化组件与actor和数据库的交互","authors":"W. Ke, Lap-Man Hoi, Ka-Meng Siu","doi":"10.1109/UV.2018.8642132","DOIUrl":null,"url":null,"abstract":"Component-based software systems are of the majority nowadays. When it comes down to implementation, the interaction between components is just as important as the functionality itself. When invoking a function of a component, how to pass data arguments, how to receive return results, and when to expect a return are all the questions to ask. There are so many ways in which these can be done, that it introduces the complexity in the usability of a component. We present in this article an architecture for integrating heterogeneous components across different language and binary platforms, different processes and even different machines, based on a simple message passing mechanism — the actor model, and the sharing of common and global data structures only through databases. We show the simplicity and flexibility of this architecture by re-structuring a slot machine framework, which consists of components to drive modern and legacy hardware, follows a static workflow, and changes the visual appearance quite often. We argue that this architecture with restricted implementation choices can be used in a much broader range of software systems, helping produce software components that are more independent and easy to adopt.","PeriodicalId":110658,"journal":{"name":"2018 4th International Conference on Universal Village (UV)","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Simplifying Component Interaction with Actors and Databases\",\"authors\":\"W. Ke, Lap-Man Hoi, Ka-Meng Siu\",\"doi\":\"10.1109/UV.2018.8642132\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Component-based software systems are of the majority nowadays. When it comes down to implementation, the interaction between components is just as important as the functionality itself. When invoking a function of a component, how to pass data arguments, how to receive return results, and when to expect a return are all the questions to ask. There are so many ways in which these can be done, that it introduces the complexity in the usability of a component. We present in this article an architecture for integrating heterogeneous components across different language and binary platforms, different processes and even different machines, based on a simple message passing mechanism — the actor model, and the sharing of common and global data structures only through databases. We show the simplicity and flexibility of this architecture by re-structuring a slot machine framework, which consists of components to drive modern and legacy hardware, follows a static workflow, and changes the visual appearance quite often. We argue that this architecture with restricted implementation choices can be used in a much broader range of software systems, helping produce software components that are more independent and easy to adopt.\",\"PeriodicalId\":110658,\"journal\":{\"name\":\"2018 4th International Conference on Universal Village (UV)\",\"volume\":\"22 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 4th International Conference on Universal Village (UV)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/UV.2018.8642132\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 4th International Conference on Universal Village (UV)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/UV.2018.8642132","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

基于组件的软件系统是当今的主流。当涉及到实现时,组件之间的交互与功能本身一样重要。在调用组件的函数时,如何传递数据参数、如何接收返回结果以及何时期望返回都是要问的问题。有很多方法可以实现这些功能,这给组件的可用性带来了复杂性。在本文中,我们提出了一种架构,用于集成跨不同语言和二进制平台、不同进程甚至不同机器的异构组件,该架构基于简单的消息传递机制——参与者模型,并且仅通过数据库共享公共和全局数据结构。我们通过重构老虎机框架来展示该架构的简单性和灵活性,该框架由驱动现代和遗留硬件的组件组成,遵循静态工作流,并经常更改视觉外观。我们认为,这种具有有限实现选择的体系结构可以在更广泛的软件系统中使用,有助于生成更独立且易于采用的软件组件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Simplifying Component Interaction with Actors and Databases
Component-based software systems are of the majority nowadays. When it comes down to implementation, the interaction between components is just as important as the functionality itself. When invoking a function of a component, how to pass data arguments, how to receive return results, and when to expect a return are all the questions to ask. There are so many ways in which these can be done, that it introduces the complexity in the usability of a component. We present in this article an architecture for integrating heterogeneous components across different language and binary platforms, different processes and even different machines, based on a simple message passing mechanism — the actor model, and the sharing of common and global data structures only through databases. We show the simplicity and flexibility of this architecture by re-structuring a slot machine framework, which consists of components to drive modern and legacy hardware, follows a static workflow, and changes the visual appearance quite often. We argue that this architecture with restricted implementation choices can be used in a much broader range of software systems, helping produce software components that are more independent and easy to adopt.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信