[
Lists Home |
Date Index |
Thread Index
]
- From: "Fabio Arciniegas A." <l-arcini@uniandes.edu.co>
- To: xml-dev@ic.ac.uk
- Date: Wed, 29 Dec 1999 13:46:46 -0500 (GMT+5)
Well, I think there are three points of view here and basically three
analogies with traditional patterns:
1. The relation between the result of the mapping and the third party
interested in the final product: As you said this would be an "Adapter":
The third party expects a certain interface and an existing product is adapted
to conform to it.
2.The relation between the mapped element and the architectural form: this
is -as Didier noted- an "Interface" ("Marker Interface"[Larman] maybe
would be more appropriate, since there purpose of the mapping is to signal the mapped
product as something)
3.The Architecture structure as a "Model Template". (This is the way I
originally understood the survey, because of the reference to Catalysis
notion of framework). The Architecture provides a structure that is
specialized via the mapping of other constructs to the template.
Best,
Fabio
> I think an even better match from programming is the "Adapter" pattern
from
> GoF[1]. To quote from the book an Adapter is used to "Convert the
interface of
> a class into another interface clients expect. Adapter lets classes
work
> together that couldn't otherwise because of incompatible interfaces."
> If you change "class" to "document type" in the above, I think this
gives a
> perfect description of the intent of document architectures.
>
> Toivo Lainevool
>
> [1] Design Patterns: Elements of Reusable Object-Oriented Software.
Gamma,
> Helm, Johnson, Vlissides.
--
Fabio Arciniegas A. Viaduct Technologies, Inc.
fabio@viaduct.com Software Engineer
Interests: XML, Wittgenstein and just about everything in between.
Oblique Strategy of the day: "Abandon normal instruments"
--
Fabio Arciniegas Arjona
l-arcini@uniandes.edu.co
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|