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

Design pattern

  • To: <xml-dev@l...>
  • Subject: Design pattern
  • From: "Didier PH Martin" <martind@n...>
  • Date: Fri, 27 Sep 2002 20:38:26 -0400
  • Importance: Normal

pattern design
Hi

Some food for thought:
Thinking more about what stuff like xlink brings (after some debugging
of its current specs) we can say that it is the composite pattern
applied to markup. To find more about the composite pattern take a look
at the book "design pattern" by Gamma and al. 

This is also what architectural forms are allowing to do. This is a
powerful pattern that allows you, for instance, to traverse a tree of
visual objects. Even if all the visual objects are different with
different characteristics you can treat them as the same object. We can
say that a DOM could also be applying the composite pattern. Even if I
have an <address> element contained in a <form> element, I can process
both through a single interface: a node. And so on and so forth. We can
say that one strength of the XML framework is the application of the
composite pattern. Having a common linkage for several domain language
provide the same advantages.

Other references about the composite pattern:
http://www.cs.rice.edu/~cork/teachjava/2001/revised-notes/rev/node28.htm
l 
http://www.cs.rice.edu/~cork/teachjava/2001/revised-notes/rev/node43.htm
l 
or simply type composite pattern in a google's search box :-)

cheers
Didier PH Martin


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.