App Quesion

I

ion

My application is a 2 tier design (client and db server) however I split it
up into 3 components: UI layer, business layer and data access layer. My
question is regarding how the UI interacts with the business layer. I split
my UI layer into two sub layers: Forms and UI control classes. In my
design all of the interaction goes through my UI control classes between the
the other layers and my UI (forms). This work well (encapsulating flow
code) however I have noticed with this design I am passing values (user
input) from my form to my UI control class to my business object (persisting
the data) and eventually to my data access layer. Should I be concerned?

Thanks
 
G

Guest

Hi ion

IMHO there is no problem in doing it this way. The point you should always note that is the service layers should be independent of the client layers. Eg:. The DALC (data layer) should service the BO (biz layer) - not the other way round, which implicitly mean that changes in the BO should not affect the DALC. The same applies to the higher layers too.

MSDN Fitch and Mather and other enterprise samples provides good literature on the design of layers

Hope this helps
fbhca
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top