Lambda the Ultimate

inactiveTopic Design Patterns in XML Applications
started 8/29/2002; 3:12:04 AM - last post 8/31/2002; 9:01:08 AM
Ehud Lamm - Design Patterns in XML Applications  blueArrow
8/29/2002; 3:12:04 AM (reads: 1510, responses: 4)
Design Patterns in XML Applications
(via PHP everywhere)

Several design patterns (Command, Flyweight, Wrapper, and Iterator) in the context of XML processing.

You don't use the same patterns in all languages (cf. patterns in dynamic languages), so it would be interesting to think about the best way to implement the examples in the article in Python or Scheme as opposed to Java/C++.


Posted to xml by Ehud Lamm on 8/29/02; 3:14:25 AM

Noel Welsh - Re: Design Patterns in XML Applications  blueArrow
8/29/2002; 8:46:24 AM (reads: 865, responses: 2)
I don't get it. How are these different for any other standard use of the a pattern? I imagined XML patterns would revolve around XML structure and maybe XSLT whereas these seem to be standard Java patterns with the data coming from XML.

Several authors have noted that many design patterns are simply ways to do functional programmin in OO languages (Command and Visitor certainly are; I'll give refs later). I'd be very interested in hearing about any research into functional patterns. It seems to me that functional patterns do exist, but they aren't presented as such. Think fold/unfold and polytypic programming.

Bryn Keller - Re: Design Patterns in XML Applications  blueArrow
8/29/2002; 9:48:53 AM (reads: 906, responses: 0)
Well there's Design Patterns for Functional Strategic Programming, which I think we may have discussed here before. Seems to me I've seen another reference to functional patterns recently, but I can't think where now.

Adewale Oshineye - Re: Design Patterns in XML Applications  blueArrow
8/30/2002; 5:52:48 AM (reads: 868, responses: 0)
XMLPatterns.com is probably what you're looking for. The site documents various ways of structuring XML.

Michael Mounteney - Re: Design Patterns in XML Applications  blueArrow
8/31/2002; 9:01:08 AM (reads: 791, responses: 0)
Oh no not design patterns again.