Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please Tell Me who is the true decorator design pattern from the 2 project in this solution Decorator Design and why ?

thanks in advance.
Updated 18-Jan-12 12:43pm

1 solution

Wikipedia is on a blackout for a really good reason at this moment, in response to SOPA and PIPA bills. Please see:[^],[^].

It will be available soon. Hope it will be fine in future as well as Internet freedom. When Wikipedia resumes the operation, find an article on this design pattern and please analyze you code by yourself. The Wikipedia article on this topic is crystal clear.

I also would like to emphasize that it is not so important if some design matches something which is called "Decorator Design Pattern" precisely or not. What's more important is the design itself; is it adequate to the ultimate goals of your software project or not.

Design Pattens are supposed to serve for promoting good designs, not that designs serve Design Patterns. In this way, your question cannot be so important, as it does not help to address any practical issue. The real question would be: is some design good for some general or particular purpose or not.

Share this answer
HassanChaaban 19-Jan-12 6:19am    
Thanks for your support i know that the Goal is the Final project but i would to build my project using good design.
Sergey Alexandrovich Kryukov 19-Jan-12 11:53am    
You are very welcome.
Good luck, call again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900