On Tue, Aug 11, 2009 at 12:57 AM, Sean Corfield <[email protected]>wrote:

>
> On Mon, Aug 10, 2009 at 3:45 PM, Charlie
> Griefer<[email protected]> wrote:
> > onApplicationStart fires once, when the application fires up.  What would
> I
> > potentially want to do inside of Model-Glue specifically on that event?
>
> Set up application variables?
>
> > Same with onSessionStart and onSessionEnd?
>
> Set up session variables?
>
> The key is that you have access to the full ColdSpring-powered
> environment at that point - and you get the consistency of handling
> everything inside MG.


But... I thought it was "bad" to reference application or session variables
from within Model-Glue?  I was under the impression that was "leaky" and not
well encapsulated.

I have a feeling I'm about to trigger a rant about scope facades :)

-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.

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