• LOGIN
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publication
  • Projects
  • Funding
  • Research Data
  • Organizations
  • Researchers
  • LOGIN
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Context-Oriented Programming
 

Context-Oriented Programming

Options
  • Details
BORIS DOI
10.7892/boris.37163
Date of Publication
2008
Publication Type
Article
Division/Institute

Institut für Informat...

Author
Hirschfeld, Robert
Costanza, Pascal
Nierstrasz, Oscar
Institut für Informatik und angewandte Mathematik (IAM)
Series
Journal of Object Technology
ISSN or ISBN (if monograph)
1660-1769
Publisher
AITO
Language
English
Publisher DOI
10.5381/jot.2008.7.3.a4
Description
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.
Related URL
http://www.jot.fm/issues/issue_2008_03/article4/index.html
Handle
https://boris-portal.unibe.ch/handle/20.500.12422/196640
Show full item
File(s)
FileFile TypeFormatSizeLicensePublisher/Copright statementContent
article4.pdftextAdobe PDF750.37 KBAttribution (CC BY 4.0)publishedOpen
BORIS Portal
Bern Open Repository and Information System
Build: d1c7f7 [27.06. 13:56]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
More
  • About BORIS Portal
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo