Dan, thanks for the suggestions! The primary reason for the delete approach is that I want to reinit all three of my MG apps simultaneously to pick up changes. I think I have to in the case of a full reinit since I have a new beanfactory? It's worth noting that I developed this approach under Unity and I'm just now upgrading to 3.2. My sub-apps are in sub-dirs:
/index.cfm /subapp1/index.cfm /subapp2/index.cfm As far as I am aware, I need to reinit all three simultaneously because the beanfactory is getting restarted? In looking at the ModelGlue.cfm code, I do find these lines of code interesting: application[ModelGlue_APP_KEY].configuration.reload application[ModelGlue_APP_KEY].reset() I presume I could set application["subapp1"].configuration.reload = true or call .reset() on all three apps and force a reload without deleting the app? I presume that if I set reload = true, that it wouldn't reinit until the next request vs. reset() would refresh it on the spot? This might work better to spread out the reset since one of the apps is administrative for us in the office and we don't hit it all the time. As far as overloading controller methods, not that I'm aware of. I do have some controllers that extend other controllers... specifically some controllers in subapp1 extend a controller from the root/public app. Is that what you mean? Brian On Thursday, October 25, 2012 6:17:20 AM UTC-7, Dan Wilson - [email protected] wrote: > > Firstly, take a look at the reloading code > here: /ModelGlue/gesture/ModelGlue.cfm > > This is how MG wants to reload the framework and the application. I can > see why you are deleting the application scope, thus forcing a reload. > > Is there anything required by the reloading code in the ModelGlue.cfm code > that you aren't providing? > > > Secondly, are you doing anything with overloading controller definitions? > > DW > > -- 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
