How should UI layer pass user input to BL layer?

Posted by BornToCode on Programmers See other posts from Programmers or by BornToCode
Published on 2012-08-20T20:38:35Z Indexed on 2012/09/06 21:51 UTC
Read the original article Hit count: 183

I'm building an n-tier application, I have UI, BL, DAL & Entities (built from POCO) projects. (All projects have a reference to the Entities).

My question is - how should I pass user input from the UI to the BL, as a bunch of strings passed to the BL method and the BL will build the object from the parameters, or should I build the objects inside the UI submit_function and send objects as parameters?

EDIT: I wrote n-tier application, but what I actually meant was just layers.

© Programmers or respective owner

Related posts about design

Related posts about programming-practices