On Tue, 23 Nov 2004 09:08:22 +1000, Scott Barnes
<[EMAIL PROTECTED]> wrote:
> > Well, I think I would put the email service CFC instance into the
> > property space (in the emailService.configure() method) and then
> > everything can access it easily using getProperty('emailService')
> >
> > If you have explicit (URL-based) requests that invoke the email
> > service, you'll need a listener (manager) for it. Otherwise components
> > can just use the property.
> 
> Ahh, good point didn't think to use the property space like that. So
> essentially i'd use the setProperty() method inside my
> emailService.configure() ?
> 
> Also, "everything" am I wrong to assume that only Listeners know about the
> framework and that Managers,Beans,DAO,DTO's etc etc cannot.
> 

You are correct to assume that only listeners should know about the
framework.  Read "Separation of the Business Model and Mach II"  in
the dev guide 
(http://livedocs.macromedia.com/wtg/public/machiidevguide/models.html).

-Phil
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
[EMAIL PROTECTED]

Reply via email to