need comments about manager classes

Posts   
 
    
epitka
User
Posts: 19
Joined: 13-Feb-2007
# Posted on: 13-Feb-2007 20:28:05   

I would like to get some feedback about following architecture for upcoming app that I am going to be working on. I am proposing follwing layering of the appliation tiers. I will be passing entities through tiers. No webservices or remoting is involved in here. I am also thinking about using Anthem.Net for AJAX.

UI DotNetNuke modules. Only way to communicate with BLL is through *Facade classes

BLL 1. BusinessFacade classes (HRFacade, SalesOrderFacade etc.) These classes contain process wide business logic, logic that spans multiple entities, and provide services for UI to consume. These are modeled around autonomous functional modules representing pieces of application with specific functional focus.

  1. EntityValidator classes

  2. Security related classes (data content security, who can see what etc)

  3. EntityManagers (OrderManager, OrderDetailManager etc.): For entity managers I will be using manager templates. However I modified all methods to be Friend rather then public, as I do not want to UI to have access to them.

BSL (business support layer) - these are database specific generated classes (Entities, helpers ect

DAL database generic classes (adapter, persistanceinfo etc.)

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 15-Feb-2007 06:18:24   

BSL (business support layer) - these are database specific generated classes (Entities, helpers ect DAL database generic classes (adapter, persistanceinfo etc.)

In general that's a very common architecture, I just have one comment about the above lines.

The BSL (Entities, Helpers...etc), we usualy call these the Database Generic classes. And the DAL (adapter, persistanceinfo... etc), we usualy call these the Database Specific classes.

epitka
User
Posts: 19
Joined: 13-Feb-2007
# Posted on: 15-Feb-2007 21:45:18   

Thanks, I know about Generic/Specific, but I changed it to be more specific and easier to understand their purpose.