Abstract
An ongoing trend is to develop new mechanisms for composing software modules that resemble the relations between corresponding problem-domain entities and thus enable a natural decomposition of software for an increasing number of problem domains. However, we have observed that today's programming languages hard-wire a fixed set of composition mechanisms, usually in terms of keywords. To overcome this limitation, we have proposed the Co-op approach enabling developers to implement an open-ended number of composition mechanisms as first-class citizens. Extending our previous prototype which focused on the composition of behavior, this paper reports on our prototype Co-op/II which facilitates implementing composition mechanisms for data access. We show that our approach is sufficient to realize several styles, e.g., of sharing data between sub classes, of controlling visibility, and of behavioral modifiers like synchronization of data access, converting or persisting data.
Original language | English |
---|---|
Title of host publication | FREECO '11 |
Subtitle of host publication | Proceedings of the 1st International Workshop on Free Composition |
Place of Publication | New York, NY |
Publisher | Association for Computing Machinery |
Pages | 4:1-4:5 |
Number of pages | 5 |
ISBN (Print) | 978-1-4503-0892-2 |
DOIs | |
Publication status | Published - 26 Jul 2011 |
Event | 1st International Workshop on Free Composition, FREECO 2011 - Lancaster, United Kingdom Duration: 25 Jul 2011 → 29 Jul 2011 Conference number: 1 |
Workshop
Workshop | 1st International Workshop on Free Composition, FREECO 2011 |
---|---|
Abbreviated title | FREECO |
Country/Territory | United Kingdom |
City | Lancaster |
Period | 25/07/11 → 29/07/11 |
Keywords
- METIS-281577
- Data abstraction
- IR-78614
- EWI-20828
- CR-D.3
- CR-D.1.5
- composition operators