Architectural question.

  • Thread starter Thread starter Ily
  • Start date Start date
I

Ily

Hi

I have a N Tier application that allows management of forums.

My presentation layer be it, a Mobile,Web or windows or whatever else
needs to send an email whenever a forum is created. Should this logic
reside in the presentation layer or the Middle tier layer?

If it resides in the presentation layer, then whatever the presentation
layer it immediately works. Howevere since emails sre sent using
xml/xslt this just seems "a little weird" to use particularly when the
presentation layer is a windows application. Reason why I say its a bit
weird as I need a reference to system.web in order to do the work, but
this isnt a web application (in this case)

Any suggestions on where I should place the code...?
 
An email is not part of the presentation layer. The presentation layer is
another name for the UI (User Interface). Anything involvoing process not
related to the UI should be considered business logic.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
 
Back
Top