An aspect-oriented approach to the modularisation of context

被引:11
|
作者
Munnelly, Jennifer [1 ]
Fritsch, Serena [1 ]
Clarke, Siobhan [1 ]
机构
[1] Trinity Coll Dublin, Distributed Syst Grp, Dublin, Ireland
来源
FIFTH ANNUAL IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS, PROCEEDINGS | 2007年
基金
爱尔兰科学基金会;
关键词
D O I
10.1109/PERCOM.2007.7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:114 / +
页数:2
相关论文
共 50 条
  • [1] Context-Aware Agents for Vehicular Networks: An Aspect-Oriented Approach
    Amor, Mercedes
    Fuentes, Lidia
    TRENDS IN PRACTICAL APPLICATIONS OF AGENTS AND MULTIAGENT SYSTEMS, 2010, 71 : 139 - 146
  • [2] Aspect-oriented Prolog in a language processing context
    Lohmann, W.
    Riedewald, G.
    Wachsmuth, G.
    IET SOFTWARE, 2008, 2 (03) : 241 - 259
  • [3] ASPECT-ORIENTED APPROACH TO METAMODEL ABSTRACTION
    Kollar, Jan
    Vagac, Michal
    COMPUTING AND INFORMATICS, 2012, 31 (05) : 983 - 1002
  • [4] A generative approach to aspect-oriented programming
    Smith, DR
    GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING 2004, PROCEEDINGS, 2004, 3286 : 39 - 54
  • [5] An Aspect-Oriented Approach for Assertion Verification
    Juarez-Martinez, Ulises
    Alor-Hernandez, Giner
    Posada-Gomez, Ruben
    Santos-Luna, Joaquin
    Miguel Gomez, Juan
    Rodriguez Gonzalez, Alejandro
    2009 FIRST INTERNATIONAL CONFERENCE ON ADVANCES IN SYSTEM TESTING AND VALIDATION LIFECYCLE, 2009, : 74 - 79
  • [6] Aspect-oriented approach to metamodel abstraction
    Kollár, J. (Jan.Kollar@tuke.sk), 1600, Slovak Academy of Sciences (31):
  • [7] An approach to test aspect-oriented programs
    Qamar, M. N.
    Nadeem, A.
    Aziz, R.
    WORLD CONGRESS ON ENGINEERING 2007, VOLS 1 AND 2, 2007, : 211 - +
  • [8] Modeling Context-Awareness in Agents for Ambient Intelligence: An Aspect-Oriented Approach
    Ayala, Inmaculada
    Pinilla, Mercedes Amor
    Fuentes, Lidia
    PROGRESS IN ARTIFICIAL INTELLIGENCE-BOOK, 2011, 7026 : 29 - 43
  • [9] Dynamic slicing of distributed Aspect-Oriented Programs: A context-sensitive approach
    Singh, Jagannath
    Khilar, P. M.
    Mohapatra, D. P.
    COMPUTER STANDARDS & INTERFACES, 2017, 52 : 71 - 84
  • [10] Flexible Calling Context Reification for Aspect-Oriented Programming
    Villazon, Alex
    Binder, Walter
    Moret, Philippe
    AOSD'09: 8TH INTERNATIONAL CONFERENCE ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT, 2009, : 63 - 74