Last post May 21, 2013 02:19 AM by nilsan
May 20, 2013 05:25 AM|ramana123|LINK
I have an ASP application which has the following arechitecture.
UI layer (all ASP pages will resides here)
Classes [All bus logic will reside here with various class files)
Single entry point for all bus logic ASP files (like direct.asp which will direct the control to appropriate ASP bus logic files to carryout required actions baed on the certain parameters that are coming from UI pages)
the output also will go back in the same way back to the font end UI pages.
Is it something can be developed using Factory Pattern in ASP.NET if we need re-write this ASP app? I just wanted to see if my co-relation pattenrs from ASP architecture is correct or not.
May 20, 2013 05:46 AM|nilsan|LINK
Well, you can have no of layers in your project. Generally people tend to use 3 layered architecture for webforms.
I've been using MVP pattern for no of projects. You can use MVC as well with Asp.net MVC framework.
MVC uses front controller pattern that processes Web application requests through a single controller.
What to choose?
I hope it helps!
May 20, 2013 12:40 PM|ramana123|LINK
Hi Nilson, we are new to MVC but wanted to see if we can implement via Factory Pattern or not. we will be new bies in MVC and may be hard as well to implement.
We wanted to put 3 tier and then follow thist Factory Pattern to direct the UI calls between Buss logic classes.
May 21, 2013 02:19 AM|nilsan|LINK
we will be new bies in MVC and may be hard as well to implement.
Well, Asp.net MVC follows convention over configuration. Once you understand it, it will be piece of cake to implement it.
If at all you're willing to spend some time to learn it, go for it.
You can check out sample Music Store app and download the code and play with it.
If at all you've made up your mind to go for webforms then check out below link that explain factory method and code in C#.