mardi 19 avril 2016

3-tier architecture business logic layer without logic

Hello I am currently working on a school project in which we are making a web application. I have a pretty good understanding about 3-tier architecture, but in my business logic layer (BLL) i have almost no logic. I am using most of the raw data i retrieve from my data access layer (DAL) to display in my presentation layer (PL). Currently in my controller classes, i'm just calling my mapper facade classes methods without doing anything further. So my question is:

Is this the right way to do it, as i know that DAL must never speak directly with PL and vise versa, or should I simply call the controllers something else more describing?

Furthermore I have made a controller class for each entity, but what if i have some methods that are in between two entities meaning that they access both entity classes.




Aucun commentaire:

Enregistrer un commentaire