Hello, I am new to design pattern and need help to understand How to achieve on a conclusion which pattern is best suited for a Given Complex application. For example, consider a Payroll application in ASP.Net and a Inventory Management system Windows application. Which Pattern is best suited for above two examples and why? Please throw some light on this. -- Thanks, DS
Design patterns are used to address *specific* problems that occur regularly in application design. One of the most common patterns is called the "singleton" which ensures that a piece of data exists in only one place in the application. -- Bryan Phillips MCT, MCSD, MCDBA, MCSE Microsoft MVP - Client Application Development Blog: http://bphillips76.spaces.live.com Web Site: http://www.composablesystems.net "DS" wrote in message news:E0A162F8-117A-4B80-A42B-02BDC20FB9FE@microsoft.com: > Hello, > > I am new to design pattern and need help to understand How to achieve on a > conclusion which pattern is best suited for a Given Complex application. > > For example, consider a Payroll application in ASP.Net and a Inventory > Management system Windows application. > > Which Pattern is best suited for above two examples and why? > > Please throw some light on this. > > -- > Thanks, > DS
DS wrote: > Hello, > > I am new to design pattern and need help to understand How to achieve on a > conclusion which pattern is best suited for a Given Complex application. > > For example, consider a Payroll application in ASP.Net and a Inventory > Management system Windows application. > > Which Pattern is best suited for above two examples and why? > > Please throw some light on this. > Unfortunately, only experience can help to decide which pattern to use. First of all, you should not start from pattern and try to use it. You should start from the concrete problems that you are facing or anticipate to face and try to come up with a solution. If you experiences some similar problem in the past, and you utilize the approach, then it becomes a pattern. There are a catalogs of the most popular patterns and you may want to make yourself familiar with at least with GoF (google for "gof patterns") or buy a book: http://www.informit.com/store/product.aspx?isbn=0201633612&rl=1 Vadim Chekan.
As Vadim as said, don't start from patterns usage. Start from creating solutions to problems as in this case "designing a payrol". The secret to understanding Pattern application and usage is DEJAVU (A sense of feeling u've done this before). You must feel this in one of more of the problem areas of designing your solution, then you can apply an appropriate pattern that solves that problem. I understand you want to build a windows application and a web application. I'll suggest you take a look at Microsoft Software Factories of particular not in your situation is Web Client Software Factory (WCSF) and Smart Client Software Factory. These has best of patterns applied for you. "Vadim Chekan" wrote in message news:K4agj.43320$1C4.14153@newsfe10.phx... > DS wrote: >> Hello, >> >> I am new to design pattern and need help to understand How to achieve on a >> conclusion which pattern is best suited for a Given Complex application. >> >> For example, consider a Payroll application in ASP.Net and a Inventory >> Management system Windows application. >> >> Which Pattern is best suited for above two examples and why? >> >> Please throw some light on this. >> > > Unfortunately, only experience can help to decide which pattern to use. > First of all, you should not start from pattern and try to use it. You > should start from the concrete problems that you are facing or > anticipate to face and try to come up with a solution. If you > experiences some similar problem in the past, and you utilize the > approach, then it becomes a pattern. There are a catalogs of the most > popular patterns and you may want to make yourself familiar with at > least with GoF (google for "gof patterns") or buy a book: > http://www.informit.com/store/product.aspx?isbn=0201633612&rl=1 > > Vadim Chekan.