skip to main content
10.1145/1352678.1352688acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicdlConference Proceedingsconference-collections
research-article

Context-oriented programming: beyond layers

Published:25 August 2007Publication History

ABSTRACT

While many software systems today have to be aware of the context in which they are executing, there is still little support for structuring a program with respect to context. A first step towards better context-orientation was the introduction of method layers. This paper proposes two additional language concepts, namely the implicit activation of method layers, and the introduction of dynamic variables.

References

  1. Costanza, P., Hirschfeld, R.: Language constructs for context-oriented programming: An overview of Context L. In: Proceedings of the Dynamic Languages Symposium (DLS) '05, co-organized with OOPSLA'05, New York, NY, USA, ACM Press (October 2005) Google ScholarGoogle Scholar
  2. Holovaty, A., Kaplan-Moss, J.: The Django Book. Apress (2007)Google ScholarGoogle Scholar
  3. Jones, R.: Roundup: an Issue-Tracking System for Knowledge Workers. (2007)Google ScholarGoogle Scholar
  4. Knight, S.: SCons User Guide 0.97. (2007)Google ScholarGoogle Scholar
  5. Gamma, E., Helm, R., Vlissides, J., Johnson, R. E.: Design patterns: Abstraction and reuse of object-oriented design. In Nierstrasz, O., ed.: Proceedings ECOOP '93. Volume 707 of LNCS., Kaiserslautern, Germany, Springer-Verlag (July 1993) 406--431 Google ScholarGoogle Scholar
  6. Kuchling, A. M.: What's new in Python 2.5. Technical report, Python Software Foundation (2007)Google ScholarGoogle Scholar
  7. van Rossum, G., Coghlan, N.: The "with" statement (Python enhancement proposal 343). Technical report, Python Software Foundation (2006)Google ScholarGoogle Scholar
  8. Bobrow, D. G., Goldstein, I. P.: Representing design alternatives. In: Proceedings of the Conference on Artificial Intelligence and the Simulation of Behavior. (July 1980)Google ScholarGoogle Scholar
  9. Goldstein, I. P., Bobrow, D. G.: Descriptions for a programming environment. In: Proceedings of the First Annual Conference of the National Association for Artificial Intelligence. (August 1980)Google ScholarGoogle Scholar
  10. Goldstein, I. P., Bobrow, D. G.: Extending object-oriented programming in Smalltalk. In: Proceedings of the Lisp Conference. (August 1980) 75--81 Google ScholarGoogle Scholar
  11. Goldstein, I. P., Bobrow, D. G.: A layered approach to software design. Technical Report CSL-80-5, Xerox PARC (December 1980)Google ScholarGoogle Scholar
  12. Smith, R. B., Ungar, D.: A simple and unifying approach to subjective objects. TAPOS special issue on Subjectivity in Object-Oriented Systems 2(3) (1996) 161--178 Google ScholarGoogle Scholar
  13. Costanza, P., Hirschfeld, R., Meuter, W. D.: Efficient layer activation for switching context-dependent behavior. In: Joint Modular Languages Conference 2006 (JMLC2006). LNCS, Oxford, England, Springer (September 2006) Google ScholarGoogle Scholar
  14. Costanza, P., Hirschfeld, R.: Reflective layer activation in contextl. In: SAC '07: Proceedings of the 2007 ACM symposium on Applied computing, New York, NY, USA, ACM Press (2007) 1280--1285 Google ScholarGoogle Scholar
  15. Robert Hirschfeld, Pascal Costanza, O. N.: Context-orientied programming. Journal of Object Technology (March-April 2008) (to appear).Google ScholarGoogle Scholar
  16. Hanson, D. R., Proebsting, T. A.: Dynamic variables. Technical Report MSR-TR-2000-109, Microsoft Research (November 2000)Google ScholarGoogle Scholar
  17. IEEE: POSIX P1003.4a --- Threads Extension for Portable Operating Systems. (1992)Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    ICDL '07: Proceedings of the 2007 international conference on Dynamic languages: in conjunction with the 15th International Smalltalk Joint Conference 2007
    August 2007
    254 pages
    ISBN:9781605580845
    DOI:10.1145/1352678

    Copyright © 2007 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 25 August 2007

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    ICDL '07 Paper Acceptance Rate11of16submissions,69%Overall Acceptance Rate11of16submissions,69%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader