Architectural question.

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...?
 
K

Kevin Spencer

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.
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top