[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Survey: Catalysis Templates

  • From: Toivo Lainevool <tlainevool@y...>
  • To: xml-dev@i..., "W. Eliot Kimber" <eliot@i...>
  • Date: Wed, 29 Dec 1999 09:37:20 -0800 (PST)

survey templates
--- "W. Eliot Kimber" <eliot@i...> wrote:
> Yes, this is I think the closest programming analog to document
> architectures. When an element in a document is mapped to some
> architectural element, you are saying "my element 'foo' conforms to the
> rules for architectural element 'bar', in addition to whatever else I
> might say a 'foo' is."  That lets a user or processor of the document
> know something about the elements in it without having to know
> everything.  I think that is analogous to saying "objects that implement
> the 'foo' interface must provide properties A, B, and C, implement
> methods D, E, and F, and accept messages G, H, and I".
> I like the interface analogy better than the "inheritance" analogy
> because it stresses the contract aspect of the relationship and does not
> imply any of the things that inheritance implies (which architectures do
> not provide, not being about program objects but about inert data
> elements).
> Cheers,
> E.

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.

Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.