G
Glenn
From an architectural/design perspective, if a web form
page uses server side logic to generate part of the UI,
this logic be abstracted within a separate presentation
layer class, or is it okay to implement using private
methods of the web form page class. Or does it belong in a
business tier class?
Note, I am not talking about common logic that can be
abstracted into a user control for use across multiple
pages, nor the handling server control events either (ie
ItemCreated in DataGrid).
My doctrine is to keep it within the web page, unless it
is used across multiple pages, where I abstracted using
user controls.
Interested in people's thoughts on this one...
Glenn.
page uses server side logic to generate part of the UI,
this logic be abstracted within a separate presentation
layer class, or is it okay to implement using private
methods of the web form page class. Or does it belong in a
business tier class?
Note, I am not talking about common logic that can be
abstracted into a user control for use across multiple
pages, nor the handling server control events either (ie
ItemCreated in DataGrid).
My doctrine is to keep it within the web page, unless it
is used across multiple pages, where I abstracted using
user controls.
Interested in people's thoughts on this one...
Glenn.