With the advent of newer technology and framework, architecture design has become very important for development of application.Utilization of the same business functionality across platform based Web application and smart client needs a tactful architecture.Another challenge has been to fit in unit testing framework with the application. MVC failed to achieve this. MVP proved to be boon to achieve this milestone.



Make use of partial class. Assign class name as screen or page level attribute.
ClientLookupDataProvider.cs
partial public class DataProvider
{
}

public class BasePresenter
{
public IServiceProvider m_Service=null;
public BasePresenter()
{
m_Service=new Services.ServiceProvider()
}
public void ProcessPresenterLayerException()
{
}
}
Public void LoadCustomerList()
{
Ilist customerList = new list();
customerList = GetCustomerList(m_View.CustomerID){}
}
Public void SortCustomerList(){}
Public void PagingCustomerList(){}
Private IList GetCustomerList(int customerID){}
private int _demandID = int.MinValue;
private string _demandName = string.Empty;
Public Sample (int a, int b, int c): base (a)
{
……
}
public Sample(int a, int b, int c, int d):this(a,b,c)
{
..
}
| You must Sign In to use this message board. | ||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||