Last post Apr 05, 2010 01:49 AM by VijayJadhav
Mar 30, 2010 06:53 AM|VijayJadhav|LINK
I am new to Design Pattern in ASP.NET.
I have gone through most of article on Google.
I need to know what exactly it is? Why it is come into existing?
From scratch, I want to clear my concepts.
Mar 30, 2010 07:59 AM|muhammedsalimp|LINK
If you have gone through most of the articles on Google you must already have an idea about Design Patterns.
In Simple terms, Design patterns are time-tested solutions to recurring design problems.
The below definition form dofactory is self explanatory
"Design patterns are recurring solutions to software design problems you find again and again in real-world application development. Patterns are about design and interaction of objects, as well as providing a communication platform concerning elegant, reusable
solutions to commonly encountered programming challenges."
Some advatages of using Design Patterns are
Mar 30, 2010 08:46 AM|VijayJadhav|LINK
Thanks for the reply and such good details.
It seems "Design Pattern" is used to design your system, which can be reusable (recurring).
It has many sub items like,
1) Factory Method
3) Abstract Factory
What are those? Where to use which one?
Is MVC pattern comes under Design Pattern?
Is there any other Design Pattern in ASP.NET?
How to implement it in ASP.NET?
Hope, your are getting me!
Mar 30, 2010 10:41 AM|formationusa|LINK
Design patterns are a concept, which apply to different technologies.
For ASP.NET, patterns are MVC, MVP, and others. MVC is a technology pattern, meaning it is specific to asp.net or jsp or other technologies.
On the other hand, if we take asp.net MVC, inside this pattern, we will be able to use the patterns you listed. MVC (Model view controller), in MVC, we can use the abstract factory to design our controller engine.
Try and think about, technology design patterns, and language design patterns, and also, in general, simply design patterns.
I hope this helps.
Everyone, feel free to reply, if you disagree
Mar 30, 2010 10:50 AM|VijayJadhav|LINK
Thanks for the reply.
Really, good details.
Mar 30, 2010 11:30 AM|vrsanaidu|LINK
However You can use design patterns in asp.net applications also. when you design business layer you can apply design patterns if you are familiar. here is the other usefull link which explains about design patterns with examples.
Mar 30, 2010 11:59 AM|atconway|LINK
Most of the design patterns you spoke of are the "GOF" (Gang of Four) patterns, and you might want to take a look at the following books, if you ever get a chance:
Design Patterns: Elements of Reusable Object-Oriented Software:
Head First Design Patterns:
Take note that these design patterns are not ASP.NET specific, and can be applied in a multitude of OO languages. Here are some links that may also offer assistance on these patterns:
Hope this helps!
Apr 05, 2010 01:49 AM|VijayJadhav|LINK
Sorry for bit late reply.
Yes, thanks. Got it.
Thank you very much!