On Thu, Apr 8, 2010 at 2:47 AM, James Allen <[email protected]> wrote:
> Thanks Sean! That sounds just superb. Thanks for the FAQU reminder. I've
> been meaning to subscribe to that for years.

Get thee to the subscription page immediately! :)

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

I'd probably have an Avatar.cfc to deal with the logic but have
convenience methods on User.cfc that delegated to its internal
Avatar.cfc.
-- 
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.

Reply via email to