首页    期刊浏览 2024年12月05日 星期四
登录注册

文章基本信息

  • 标题:Reactor Design Pattern
  • 本地全文:下载
  • 作者:Marko Mijač ; Antonio García-Cabot ; Vjeran Strahonja
  • 期刊名称:TEM Journal
  • 印刷版ISSN:2217-8309
  • 电子版ISSN:2217-8333
  • 出版年度:2021
  • 卷号:10
  • 期号:1
  • 页码:18-30
  • DOI:10.18421/TEM101-03
  • 语种:English
  • 出版社:UIKTEN
  • 摘要:In object-oriented (OO) applications, objects collaborate through message passing, which results in these objects being coupled and mutually dependent. These dependencies can be reactive, i.e. such that, for example, the state change of one object, requires automatic reaction in all dependent objects. Examples of such reactive dependencies can be found in various software systems, including rich graphical interfaces, spreadsheet systems, animation, robotics, etc. Unlike the reactive paradigm which natively provides abstractions and mechanisms for the management of reactive dependencies, the OO paradigm lacks proper support. Object-oriented applications developers often resort to the use of adhoc solutions or design patterns such as the well-known Observer pattern, which are not suitable for managing more complex scenarios. In this paper we offer a novel design pattern (REACTOR), which utilizes a graph data structure to improve the management of reactive dependencies in OO applications.
  • 关键词:design patterns;design science;objectoriented paradigm;reactive paradigm
国家哲学社会科学文献中心版权所有