Newbie Member
10Jul2011,16:34   #61
r0o0cky's Avatar
I found awnser to my query, so i thought to share it in this forum so others can also know this. Bydefault ASP.NET implements Page Controller pattern through out the ASP.NET Page life cycle which is the code-behind page.

For beginners who have just started working on ASP.NET the page controller pattern can serve as entry level. The drawback is lack of unit testing and repetition of logic as the logic resides inside the code behind file.

Next level after this could be the MVP pattern, which is best for UI applications like ASP.NET, Windows, Mobile, etc. This pattern is easy to learn and very manageable. But it is recommended only if you need unit testing, you need to reuse the logic, or your interface can be different like Web, Windows or Mobile application.

Shabbir you can correct me if I am incorrect anywhere, Thanks.
Go4Expert Founder
10Jul2011,20:55   #62
shabbir's Avatar
Quote:
Originally Posted by r0o0cky View Post
I found awnser to my query, so i thought to share it in this forum so others can also know this. Bydefault ASP.NET implements Page Controller pattern through out the ASP.NET Page life cycle which is the code-behind page.

For beginners who have just started working on ASP.NET the page controller pattern can serve as entry level. The drawback is lack of unit testing and repetition of logic as the logic resides inside the code behind file.

Next level after this could be the MVP pattern, which is best for UI applications like ASP.NET, Windows, Mobile, etc. This pattern is easy to learn and very manageable. But it is recommended only if you need unit testing, you need to reuse the logic, or your interface can be different like Web, Windows or Mobile application.

Shabbir you can correct me if I am incorrect anywhere, Thanks.
I am not ASP.NET expert and so cannot comment on what you are saying but I think if you have tested it would right only. Yes MVP pattern is used at many places including in MFC classes.
Newbie Member
22Aug2011,20:31   #63
sigfin2004's Avatar
may i ask the sources for the main UML diagram, they look like they were built using sparx enterprise architect. would be most grateful sir.

Thanks for any consideration.
Go4Expert Founder
22Aug2011,21:11   #64
shabbir's Avatar
Quote:
Originally Posted by sigfin2004 View Post
may i ask the sources for the main UML diagram, they look like they were built using sparx enterprise architect. would be most grateful sir.

Thanks for any consideration.
Nope I have used Visual Studio and EA.
xpertprogrammer like this
Newbie Member
22Aug2011,21:20   #65
sigfin2004's Avatar
Quote:
Originally Posted by shabbir View Post
Nope I have used Visual Studio and EA.
EA is sparx enterprise architect.

: ) i would appreciate it if you still have the eap file?
Go4Expert Founder
22Aug2011,21:49   #66
shabbir's Avatar
Quote:
Originally Posted by sigfin2004 View Post
EA is sparx enterprise architect.

: ) i would appreciate it if you still have the eap file?
No I don't have them.
xpertprogrammer like this
Newbie Member
13Sep2011,13:32   #67
simple's Avatar
Flyweight = use the same existing one instead of creating new one. in your example how its achieved?
Go4Expert Member
22Sep2011,16:34   #68
Trimegisto's Avatar
Very useful info. Thanks!
Newbie Member
4Oct2011,14:32   #69
Md Tariq ul Islam's Avatar
source code download link is not working
Newbie Member
4Dec2011,00:51   #70
shantanudesai2009's Avatar
Hey.. thats really nice and helpful post for the newbies in DP.. Can u please suggest me where I can find excercises on Design patterns.. like case studies or something..??

Example : Some situation be given , and asked for which design pattern will suit this..?? or some situation be given, and asked how "particular" DP is used here??

It shall really be helpful.. thanks in advanced..