Publication: Context-Oriented Programming
cris.virtualsource.author-orcid | e7e37c38-3cec-4a31-83a2-5be23f6f0f2a | |
datacite.rights | open.access | |
dc.contributor.author | Hirschfeld, Robert | |
dc.contributor.author | Costanza, Pascal | |
dc.contributor.author | Nierstrasz, Oscar | |
dc.date.accessioned | 2025-01-08T19:33:22Z | |
dc.date.available | 2025-01-08T19:33:22Z | |
dc.date.issued | 2008 | |
dc.description.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. | |
dc.description.numberOfPages | 27 | |
dc.description.sponsorship | Institut für Informatik und angewandte Mathematik (IAM) | |
dc.identifier.doi | 10.7892/boris.37163 | |
dc.identifier.isi | 000261730200009 | |
dc.identifier.publisherDOI | 10.5381/jot.2008.7.3.a4 | |
dc.identifier.uri | https://boris-portal.unibe.ch/handle/20.500.12422/196640 | |
dc.language.iso | en | |
dc.publisher | AITO | |
dc.publisher.place | Zürich | |
dc.relation.ispartof | Journal of Object Technology | |
dc.relation.issn | 1660-1769 | |
dc.relation.organization | DCD5A442C2AFE17DE0405C82790C4DE2 | |
dc.relation.organization | DCD5A442C2AFE17DE0405C82790C4DE2 | |
dc.title | Context-Oriented Programming | |
dc.type | article | |
dspace.entity.type | Publication | |
dspace.file.type | text | |
oaire.citation.endPage | 151 | |
oaire.citation.issue | 3 | |
oaire.citation.startPage | 125 | |
oaire.citation.volume | 7 | |
oairecerif.author.affiliation | Institut für Informatik und angewandte Mathematik (IAM) | |
oairecerif.identifier.url | http://www.jot.fm/issues/issue_2008_03/article4/index.html | |
unibe.contributor.role | creator | |
unibe.contributor.role | creator | |
unibe.contributor.role | creator | |
unibe.date.licenseChanged | 2017-10-19 11:26:15 | |
unibe.description.ispublished | pub | |
unibe.eprints.legacyId | 37163 | |
unibe.journal.abbrevTitle | Journal of Object Technology | |
unibe.refereed | true | |
unibe.subtype.article | journal |
Files
Original bundle
1 - 1 of 1
- Name:
- article4.pdf
- Size:
- 750.37 KB
- Format:
- Adobe Portable Document Format
- File Type:
- text
- License:
- https://creativecommons.org/licenses/by/4.0
- Content:
- published