That's what I was thinking.I'm new to model glue 2, is there anything I need
to do to my CFC's special in the model folder to be able to say
modelglue().getBean("ORMService") or whatever? Ie: do I need to extend
anything special??Thanks!! - Derek _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Bell Sent: Monday, November 27, 2006 9:09 PM To: [email protected] Subject: Re: [Reactor for CF] Where does reactor code belong? I'd create an ObjectService for each business objetc (UserService, ArticleService, etc.). Have that act as an API to your Gateway and DAO and only call the Service (and the business object itself) from your controller. That way you can reuse the methods between controllers. Best Wishes, Peter On 11/27/06 11:30 PM, "Derek P." <[EMAIL PROTECTED]> wrote: Hi everyone, I've been scouring the internet for a bit now, and I haven't found an answer yet. Where does reactor code belong in model-glue? I've been writing it all into the controller.because I thought, well reactor is a model generator in a sense.so it would be redundant to add it to another CFC? But maybe I'm wrong. This came up because I realize that I have a OO Query I wrote that I want to use in more than one place..suddenly I am feeling like I have replaced a convention with an old practice.so should I put the Reactor code to create a query in its own CFC and call that? Thanks! - Derek -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
