This is the exact area where I am unsure. I have generally always
considered a "section" to be a table. IE have 1 Controller per
service. However in certain aspects, this does not make much sense.
Especially when you have a very tightly coupled tabled (User &
UserProfile).

I am trying to figure out the best practice for a 1:1 relation and a
1:n relationship.



On Nov 14, 12:29 pm, Nolan Erck <[email protected]> wrote:
> Hi Jeremy,
>
> Yes, typically I think you'll find people use separate controllers for
> each "section" of their application, however that (like many things)
> varies from project to project, and personal style.
>
> Yes, it's possible to separate your ColdSpring.xml and Model-Glue.xml
> files into individual files.  There's a good reference for this here:
>
> http://www.markdrew.co.uk/blog/post.cfm/model-glue-tips-part-1-separa...
>
> hth.
>
> -Nolan
>
>
>
>
>
>
>
> On Sun, Nov 14, 2010 at 11:13 AM, Jeremy Rottman <[email protected]> wrote:
> > I am writing a very large application with 60+ tables. Currently I am
> > working on the architecture of the middle tier and I am looking for a
> > bit of advice on how best to achieve an easily manageable application.
>
> > Right now, I have completely finished one section of my application
> > and I ended up with 9 services. So my first question is, would be in
> > my best interest to use a single controller or multiple controllers
> > (one per service) .
>
> > My next two questions are related. With in my config's ColdSpring and
> > ModelGlue, I have started to notice that these two config files are
> > getting rather cumbersome to traverse even with only 9 services
> > completed. So is it even possible to separate the event handlers and
> > controller definitions out into individual files so that it is easier
> > to manage? I would prefer to have the packaging based on the module
> > that I am working on (User, config, etc..)
>
> > --
> > 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

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