An Aspect-Oriented Approach to the Modularisation of Context

J. Munnelly, S. Fritsch, S. Clarke
{"title":"An Aspect-Oriented Approach to the Modularisation of Context","authors":"J. Munnelly, S. Fritsch, S. Clarke","doi":"10.1109/PERCOM.2007.7","DOIUrl":null,"url":null,"abstract":"Handling context is required for applications to dynamically and appropriately adapt to their changing environment. Incorporating context into applications involves the consideration of a set of concerns related to the handling of various context types and the adaptation of the application behaviour relative to the current context. These concerns are usually heavily tangled with the base code of the applications, resulting in code that is badly modularised and therefore is hard to understand, manage and modify. We propose a modularised design for the handling of different kinds of context using aspect-oriented programming techniques. We demonstrate that a context-aware application built in this manner exhibits improved modularity, with corresponding improvements in comprehensibility, manageability and maintainability. The proposed aspect-oriented modularisation is evaluated against traditional object-oriented techniques, and also against a popular context framework, using metrics indicating coupling, cohesion and complexity. The results show the positive effect of modular code on context-aware applications by quantitatively illustrating the improvements in modularisation quality factors","PeriodicalId":314022,"journal":{"name":"Fifth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom'07)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"40","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Fifth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom'07)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PERCOM.2007.7","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 40

Abstract

Handling context is required for applications to dynamically and appropriately adapt to their changing environment. Incorporating context into applications involves the consideration of a set of concerns related to the handling of various context types and the adaptation of the application behaviour relative to the current context. These concerns are usually heavily tangled with the base code of the applications, resulting in code that is badly modularised and therefore is hard to understand, manage and modify. We propose a modularised design for the handling of different kinds of context using aspect-oriented programming techniques. We demonstrate that a context-aware application built in this manner exhibits improved modularity, with corresponding improvements in comprehensibility, manageability and maintainability. The proposed aspect-oriented modularisation is evaluated against traditional object-oriented techniques, and also against a popular context framework, using metrics indicating coupling, cohesion and complexity. The results show the positive effect of modular code on context-aware applications by quantitatively illustrating the improvements in modularisation quality factors
面向方面的上下文模块化方法
应用程序需要处理上下文才能动态地、适当地适应不断变化的环境。将上下文合并到应用程序中涉及到考虑一组与各种上下文类型的处理和相对于当前上下文的应用程序行为的适应相关的关注点。这些关注点通常与应用程序的基础代码纠缠在一起,导致代码的模块化很糟糕,因此难以理解、管理和修改。我们提出了一个模块化的设计,使用面向方面的编程技术来处理不同类型的上下文。我们演示了以这种方式构建的上下文感知应用程序展示了改进的模块化,在可理解性、可管理性和可维护性方面有相应的改进。针对传统的面向对象技术和流行的上下文框架,使用指示耦合、内聚和复杂性的度量来评估所提出的面向方面模块化。通过定量说明模块化质量因素的改进,结果表明模块化代码对上下文感知应用的积极影响
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信