Search the web
Sign In
New User? Sign Up
dpexplained · Design Patterns Explained
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 183 - 212 of 485   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
183
I may be wrong, but I think you should decorate the goo() method first, and then, in another decorator you should decorate the foo() method. Does this solve...
Liviu Rau
liviu_aurelian
Online Now Send Email
Apr 3, 2002
7:13 am
184
I urge you to check out Yahoo's new marketing policy: http://help.yahoo.com/help/us/privacy/privacy-23.html In particular, note this statement: In addition, we...
alshalloway
Offline Send Email
Apr 4, 2002
4:37 pm
185
Here's a question I got off list: I am an owner of your book "Design patterns explained " and have a question for you. I like the Composite design patterns to...
alshalloway
Offline Send Email
Apr 5, 2002
2:21 pm
186
... This is another reason factories are useful. Somehow you need to translate the internal composite structure to the external RDBMS and vice versa. I set...
alshalloway
Offline Send Email
Apr 5, 2002
2:44 pm
187
Another option would be to use a data-binding framework. This allows you to marshal a graph of objects (in this case, a composite, but it could be any group...
Scott L. Bain
slbain@...
Send Email
Apr 5, 2002
3:17 pm
188
If you're using the J2EE, composite & whole-part hierarchies, then CMP 2.0 is a solid way to go because it allows you to declaratively describe the...
Tom Marrs
thomasamarrs
Offline Send Email
Apr 5, 2002
8:41 pm
189
Tom: No apology necessary for the recommendation of the core j2EE patterns book. First of all, it's a great book (serves a different purpose than mine)....
alshalloway
Offline Send Email
Apr 5, 2002
8:57 pm
190
Hi: I just reading your DPExplained. I think it's a great book which could be expanded more in detail :) You mentioned about encapsulating at class-level via...
bkcharlie6
Offline Send Email
Apr 7, 2002
2:06 am
191
The difference between these two has nothing to do how well one insulates the client class from the implementations or variations. I think we've actually had...
alshalloway
Offline Send Email
Apr 7, 2002
3:45 am
192
Group, There seem to be inherent difficulties implementing an MVC-like framework for GUI applications, especially in light of the guiding rules set forth by...
chadlehmanmyfullname
chadlehmanmy...
Offline Send Email
Apr 13, 2002
10:21 pm
193
Chad, The best exposition of MVC I've see is in "Pattern Oriented Software Architecture - A System of Patterns" aka POSA 1. Thanks to Alan for suggesting that...
Charlie Poole
cpoole98370
Offline Send Email
Apr 14, 2002
3:51 am
194
Charlie ... Thanks for the suggestion. Actually, I believe we may have solved the problem offline here in the last couple of hours. The solution was to create...
chadlehmanmyfullname
chadlehmanmy...
Offline Send Email
Apr 14, 2002
4:43 am
195
Chad: Excellent job figuring this out. Sorry I didn't respond soon enough to help you. Charlie's recommendation of Pattern Oriented Software Architecture is ...
alshalloway
Offline Send Email
Apr 14, 2002
5:49 am
196
I was wondering about the options mentioned in the Field Notes Section (p.239). I am new to this but it seems that all of the options put age at the wrong...
otisatwork
Offline Send Email
Apr 24, 2002
3:00 pm
197
Well the example lacks extensive detail. So in my opinion, age is a parameter that doesn't really fit anywhere into the example without taking the example...
sdfox_74
Offline Send Email
Apr 29, 2002
10:38 pm
198
Could someone point me to a resource with a better explanation of the decorator pattern. I feel that the examples in this book are unacceptable. The code...
sdfox_74
Offline Send Email
Apr 29, 2002
10:59 pm
199
... to ... in ... I was thinking that I would have one calcTax object for each country that would know how to calculate tax for all cases within that country....
alshalloway
Offline Send Email
Apr 30, 2002
12:03 am
200
... a ... When writing books, if we were to fully describe even a simple real- world problem, it would take forever. So you are right - i have left out many...
alshalloway
Offline Send Email
Apr 30, 2002
12:05 am
201
The confusion here might be that there is no one rule for who knows what is to be decorated. Look in your own problem domain where you want to use the...
alshalloway
Offline Send Email
Apr 30, 2002
12:23 am
202
... all ... country ... it ... to ... were ... (factory) ... I can see that using age to select rather than compute might produce too many sub-classes....
otisatwork
Offline Send Email
Apr 30, 2002
2:39 pm
203
... Yes, this is exactly why I hadn't mentioned it. Note however, how the pattern gives us a way to look at the problem in a more conceptual way. Knowing we...
alshalloway
Offline Send Email
Apr 30, 2002
3:18 pm
204
There is another, more extensive example of the decorator available at: http://www.netobjectives.com/dpexplained/dpe_olc_sup_pat.htm ...which is the online...
Scott L. Bain
slbain@...
Send Email
Apr 30, 2002
4:26 pm
205
Are there any C++ examples? I don't know java to be honest with you. ... Explained. There ... decorator ... going to...
sdfox_74
Offline Send Email
Apr 30, 2002
5:24 pm
206
I would think with a few pointers (i'll give below) i don't think you'll have problems reading the code. The major differences between Java and C++ are: no...
alshalloway
Offline Send Email
Apr 30, 2002
6:08 pm
207
Alan, ... Or if you're up to date in C++, think of everything as being a reference. :-) Charlie Poole cpoole@......
Charlie Poole
cpoole98370
Offline Send Email
Apr 30, 2002
6:29 pm
208
... I had thought about explaining it that way, but references don't explain the need to do new on objects. This was one of the bigger challenges I had when i...
alshalloway
Offline Send Email
Apr 30, 2002
6:41 pm
209
Alan, ... Yeah... me too. Still is in fact both for Java and C#. Fortunately, compilers tell me when I goof up. I started teaching C++ references before...
Charlie Poole
cpoole98370
Offline Send Email
Apr 30, 2002
9:54 pm
210
... mentioned. ... rather ... of ... (or ... which ... Of course, if you had started with the English version, You might have thought of it as depending on age...
otisatwork
Offline Send Email
May 1, 2002
4:01 am
211
I 've found this book by James Cooper quite interesting, will full examples (in Java). The Decorator pattern is also explained, but the java source is even...
John Kostaras
ikosta.rm
Offline Send Email
May 1, 2002
8:03 am
212
I 've found this book by James Cooper quite interesting, will full examples (in Java). The Decorator pattern is also explained, but the java source is even...
John Kostaras
ikosta.rm
Offline Send Email
May 1, 2002
8:04 am
Messages 183 - 212 of 485   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help