Design Pattern
There are number of design pattern, I want to know which pattern to I should follow and why(advantages and disadvantages)? Please give your suggestions?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


SenthilkumarRank #387 · 6.5K reputationPosted Mar 19, 2012, 12:44 AM EDT
You can see more patterns in http://www.dofactory.com/Patterns/Patterns.aspx
The usage of the pattern is upto the implementation of system.For example you have a system where it will keep on listening the request and same object has to be reused to increase the performance of the application. It should not create more number of object to accessing the same resources then "Singleton" pattern has to be used.
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 19, 2012, 2:05 AM EDT
Design patterns are recurring solutions to software design problems we face it again and again in real-world application development.
Design Patterns are how we design and interaction with objects, as well as providing a communication between two methods or functions (simply call element), reusable solutions to commonly encountered programming challenges.
All are depend on our requirement and how I design architecture.
In real world, all code is from of pattern example suppose I want retrieve data from cache so I write common mechanism to retrieve data from cache. It is one type of pattern we can call them repository pattern.
This is just example.
hope this help.