Context-oriented programming

377Citations
Citations of this article
186Readers
Mendeley users who have this article in their library.

Abstract

Context-dependent behavior is becoming increasingly important for a wide range of application domains, from pervasive computing to common business applications. Unfortunately, mainstream programming languages do not provide mechanisms that enable software entities to adapt their behavior dynamically to the current execution context. This leads developers to adopt convoluted designs to achieve the necessary runtime flexibility. We propose a new programming technique called Context-oriented Programming (COP) which addresses this problem. COP treats context explicitly, and provides mechanisms to dynamically adapt behavior in reaction to changes in context, even after system deployment at runtime. In this paper, we lay the foundations of COP, show how dynamic layer activation enables multi-dimensional dispatch, illustrate the application of COP by examples in several language extensions, and demonstrate that COP is largely independent of other commitments to programming style. ©JOT, 2002.

Cited by Powered by Scopus

Software engineering for self-adaptive systems: A research roadmap

845Citations
N/AReaders
Get full text

A survey on engineering approaches for self-adaptive systems

365Citations
N/AReaders
Get full text

Engineering context-aware systems and applications: A survey

185Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Hirschfeld, R., Costanza, P., & Nierstrasz, O. (2008). Context-oriented programming. Journal of Object Technology, 7(3), 125–151. https://doi.org/10.5381/jot.2008.7.3.a4

Readers over time

‘08‘09‘10‘11‘12‘13‘14‘15‘16‘17‘18‘19‘20‘21‘22‘23‘24015304560

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 112

72%

Researcher 30

19%

Professor / Associate Prof. 10

6%

Lecturer / Post doc 3

2%

Readers' Discipline

Tooltip

Computer Science 146

91%

Engineering 11

7%

Business, Management and Accounting 2

1%

Social Sciences 1

1%

Save time finding and organizing research with Mendeley

Sign up for free
0