Thanks Sean! That sounds just superb. Thanks for the FAQU reminder. I've
been meaning to subscribe to that for years.

I was thinking of an example of this last night. Say you have a user object
that holds a reference to an avatar for that user. When the user uploads an
avatar image, would the user.cfc take care of the resizing and storage of
the image or would you ideally inject an image processor cfc into the
user.cfc? The main thing here being that user.cfc is handling the image
operation rather than it going via a service..

---
James  Allen
E: [email protected]
Blog: http://jamesallen.name
Twitter: @CFJamesAllen (Coldfusion / Web development)
Twitter: @jamesallenuk (General)
Lead developer of http://errrrrrr.com


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Sean Corfield
Sent: 07 April 2010 22:54
To: [email protected]
Subject: Re: [Model-Glue] Sanity check / calling code from 1 controller in
another

On Wed, Apr 7, 2010 at 2:51 AM, James Allen <[email protected]>
wrote:
> Any chance of a blog post to document this kind of approach. I adopted
your
> one service per application area approach from the start and while I have
> rich business objects I still have quite a lot of logic in my services.
> Would be really interested in getting a better perspective on how I can
> shift most of the logic into the domain objects.

I wrote up a fairly detailed article for FAQU Vol II Issue IV (theme:
Do More, Code Less!). Since that article was written for FAQU and will
be part of their upcoming book, I can't republish it on my blog. I
highly recommend FAQU tho'...

FAQU = Fusion Authority Quarterly Journal. Originally in mini-book
format, now electronic format only. Lots of good articles, no fluff,
no ads.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

To unsubscribe, reply using "remove me" as the subject.

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to