G
Guest
Hi.
It is often maintained, that a layered architecture is something one should
consider in any nontrivial application (see e.g. Data Binding with Windows
Forms by Brian Noyces).
I have a VS2005 solution with 3 projects in it:
1. Adveita.UI - a WinForms executable for user interaction
2. Adveita.BLL - a library project for buisiness logic
3. Adveita.DAL - also a library project, for data access
In order to achieve a full decoupling between the UI and DAL layers, I find
myself writing wrapper classes in the BLL layer to present tables, columns
etc. to the UI layer. Also, I am writing a lot of code to bind controls like
text boxes to data and the like. I think, that the designer should be doing
this for me in most cases and I that I am perhaps doing something basically
wrong here. On the other hand, examples in books and downloadable samples
are rather simplistic and hardly tackle questions like these.
Can anyone comment on this, point out to me samples or articles addressing
these questions.
Regards,
Gudni
It is often maintained, that a layered architecture is something one should
consider in any nontrivial application (see e.g. Data Binding with Windows
Forms by Brian Noyces).
I have a VS2005 solution with 3 projects in it:
1. Adveita.UI - a WinForms executable for user interaction
2. Adveita.BLL - a library project for buisiness logic
3. Adveita.DAL - also a library project, for data access
In order to achieve a full decoupling between the UI and DAL layers, I find
myself writing wrapper classes in the BLL layer to present tables, columns
etc. to the UI layer. Also, I am writing a lot of code to bind controls like
text boxes to data and the like. I think, that the designer should be doing
this for me in most cases and I that I am perhaps doing something basically
wrong here. On the other hand, examples in books and downloadable samples
are rather simplistic and hardly tackle questions like these.
Can anyone comment on this, point out to me samples or articles addressing
these questions.
Regards,
Gudni