First of all, sorry, my english is not very good. I'm improving it, writting, reading, ...
At work, there is an arquitecture in 3 layers (DAL, BL and UI). Each layer is in a different assembly and there is another .dll with dto. But these dto's are datatables, because, the dal layer works with them.
May be i'm wrong, but i think that it's not the best solution for a complex project. I prefer simple object that represents a bussiness entity like user, car, account, ... Because the dependency between layers is very important for the maintaing of the application. Infact, each datatable represent tables of the databases, but we must build each layer independient of another.
Update: About OOP
No hay comentarios:
Publicar un comentario