• Post Reply Bookmark Topic Watch Topic
  • New Topic

Envelope Pattern  RSS feed

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Envelope pattern, how it is related with XML
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Where did you get this. I have heard only of the 23 design patterns by Gamma.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rahul Mahindrakar:
Hi,
Where did you get this. I have heard only of the 23 design patterns by Gamma.

Envelope pattern - This is XMLPattern
The Envelope pattern provides a document type which is defined to be a holder for other, arbitrary XML data, which can be used in XML messaging protocols.
I found this at www.XMLPatterns.com
Anil


[This message has been edited by Anil Vupputuri (edited January 31, 2001).]
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This website looks very interesting - I had never heard of XML patterns before. Thanks for sharing this.
-Mirko
 
Linda Rising
Author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rahul Mahindrakar:
Hi,
Where did you get this. I have heard only of the 23 design patterns by Gamma.


Hi,
This is a big problem for software developers. Most, by now, have heard of the GoF patterns but there are so many others that can help you. One of the reasons for the publication of the Pattern Almanac (get a free copy this week!) is to make developers aware of the number of patterns that are available. If you are working in a particular domain, for example, telecommunications, you can look under that Category and see the patterns that apply. For each pattern, there is a reference, so you can read more about the pattern, a short abstract, a list of related patterns, and then a set of references to experience reports written by users of the pattern to solve real problems. There are over a thousand
patterns in the book -- and these are just for software!
Enjoy!

Linda

------------------
Linda Rising
Author of The Pattern Almanac 2000
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Linda Rising:
There are over a thousand patterns in the book -- and these are just for software!

I can see why this is necessary, it is just a pity that it is necesary in the first place.
The GoF book did two things, I think. First of all it recognised patterns as entities you can study, develop, and document in a systematic way. Second it gave us a vocabulary to discuss them. When you talk about a "factory", you can expect any OO developer worth his salt to know what you are talking about.
Outside the scope of the GoF book, unfortunately, the vocabulary seems to break down into a Babel-like confusion where everyone names their patterns differently even where they are mere variations of each other. In an ideal world, we would not need a thousand-pattern Almanac to understand each other, but a hundred-pattern booklet with the really fundamental patterns.
All of that notwithstanding, your book is inspirational reading for any of us
- Peter
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting, I've been using this pattern, but never thought of it as one. Or, at least, I use a pattern similar to an envelope.
This pattern seems evry applicable to messaging (in Java JMS). We se messaging passing for our client-server protocol. We use actual message objects in our API. However, our communication layer wraps these objects with information about the protocol being used, the type fo encryption, information of the context type, etc. We also have message objects which can be used to contain other message objects (although that's probably more of a composite pattern).
--Mark
hershey@vaultus.com
 
Linda Rising
Author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Peter den Haan:
I can see why this is necessary, it is just a pity that it is necesary in the first place.
- Peter


Agreed!!!
Linda

------------------
Linda Rising
Author of The Pattern Almanac 2000
 
Guennadiy VANIN
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Linda Rising:
There are over a thousand
patterns in the book -- and these are just for software!

What is the system, I wonder, to classify thousands of patterns and what are the bricks of the Lego, the most basic patterns?
Originally posted by Peter den Haan
...everyone names their patterns differently even where they are mere variations of each other. In an ideal world,

How can I determine that two are variations? My problem is that I cannot, frequently, distinguish most patterns even inside the most basic/fundamental 20-50.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!