Change search
ReferencesLink to record
Permanent link

Direct link
Design Patterns as Language Constucts
Blekinge Institute of Technology, Department of Telecommunications and Mathematics.
1996 (English)Report (Refereed)
Abstract [en]

Design patterns have proven to be useful for the design of object-oriented systems. The power of a design pattern lies in its ability to provide generic solutions that can be specialised for particular situations. The implementation of design patterns has received only little attention and we have identified two relevant problems associated with the implementation. First, the traceability of a design pattern in the implementation is often insufficient; often the design pattern is `lost'. Second, implementing design patterns may present significant implementation overhead for the software engineer. Often, a, potentially large, number of simple methods has to be implemented with trivial behaviour, e.g. forwarding a message to another object. In this paper, the layered object model (LayOM) is presented. LayOM provides language support for the explicit representation of design patterns in the programming language. LayOM is an extended object-oriented language in that it contains several components that are not pa rt of the conventional object model, such as states, categories and layers. Layers are used to represent design patterns at the level of the programming language and example layer types for four design patterns are presented. LayOM is supported by a development environment that translates LayOM code into C++. The generated C++ code can be used as any C++ code for the development of applications. An important aspect of LayOM is that the language itself is extensible. This allows new design patterns to be added to the language model.

Place, publisher, year, edition, pages
Blekinge Tekniska Högskola Forskningsrapport, ISSN 1103-1581 ; 17
National Category
Software Engineering
URN: urn:nbn:se:bth-00040Local ID: diva2:833779
Available from: 2015-06-25 Created: 2000-03-15 Last updated: 2015-06-30Bibliographically approved

Open Access in DiVA

fulltext(170 kB)35 downloads
File information
File name FULLTEXT01.pdfFile size 170 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Department of Telecommunications and Mathematics
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 35 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 56 hits
ReferencesLink to record
Permanent link

Direct link