I thought Manager and Service meant the same thing.

________________________________________
From: [email protected] [EMAIL PROTECTED] On Behalf Of Ronan Lucio [EMAIL 
PROTECTED]
Sent: 12 May 2008 17:44
To: [email protected]
Subject: [CFCDEV] Re: Noobie Question

Tom Chiverton escreveu:

On Monday 28 Apr 2008, wkolcz wrote:


                Does anyone have a simple, real example (code) of a service 
object and
how it interacts with a DAO or Gateway?



http://www.rachaelandtom.info/building-coldfusion-services-3


For all I have understand Service Layer is suggested when you have a more 
complex logic (logging, security, transactions, etc) and Manager to encapsulate 
others businnes rules.

Is it right?
What about simple tasks like a public page that shows/list some products?
Should the application interact only with Service Objects or may application 
interact directly with Manager Objects?

The problem in the second case would be if I need to add complexities 
(rules/security) later, right?

Ronan



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to