Honestly, it's my opinion that this is a matter of taste. I figure most MG developer put services under something like /model/services. Others may classify them by entities, etc. I've been known to do this, or put them under a com.alagad package or a whole variety of other options. There's really no one-true-answer other than to make use of a services layer and put it "somewhere". :)
Besides, assuming you're using something like CS, subsequent developers only need to look at the bean name, look in the config to find out the package and class, and now they have found your code. Doug Hughes, President Alagad Inc. [email protected] 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 On Tue, Mar 23, 2010 at 7:26 PM, Brettski <[email protected]> wrote: > Hi, > > I need to have a service layer in MG, for handling groups of objects, > preventing controller bloat etc. > > Are people putting there service cfc's in the model folder or > somewhere else? a service folder? > > How are you referencing services, are they stored in your application > scope, or accessed via beans in controllers? > > -- > 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]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > > To unsubscribe from this group, send email to model-glue+ > unsubscribegooglegroups.com or reply to this email with the words "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 To unsubscribe from this group, send email to model-glue+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
