Hi Dan. I know that technically it would be a single application.
That's my problem. The program I'm building might be installed on a
site that has, for example, a ColdFusion shopping cart already
installed. So the cart is 1 application, and my program is a different
application, even though both would be running under the same
application context. If the cart is already built using MG 1 or 2, I
don't see an easy way to use MG 3 for my program since the mapping is
already being used.

Thanks.

On Jan 14, 10:44 am, Dan Wilson <[email protected]> wrote:
> From the perspective of Model Glue, an application is defined as an
> application scope context. Thus, you can not have two applications running
> under the same application context (application.cfm or application.cfc)
>
> The Model-Glue framework must be stored in the application scope, so even if
> you were on a version of ColdFusion ( 8 or higher ) that allowed application
> specific mappings, you would not be able to have two different mappings with
> the same name under the same application context.
>
> Why, may I ask, are you trying to run two different versions of Model-Glue?
> MG3 should be backwards compatible. What does the MG2 application need that
> MG3 doesn't provide?
>
> DW
>
>
>
> On Thu, Jan 14, 2010 at 10:25 AM, Bud <[email protected]> wrote:
> > I can make a mapping at the application level? I didn't know that. But
> > even so, in my scenario, both Model Glue applications would be running
> > under the same application.cfc/cfm, so nothing really changes.
>
> > On Jan 14, 8:22 am, Chris Blackwell <[email protected]> wrote:
> > > you would have the following
>
> > > /somepath/ModelGlue2
> > > /somepath/ModelGlue3
>
> > > then either in cfadmin or via per-application settings your would create
> > a
> > > mapping to the version your wanted to use as
>
> > > /Modelglue = /somepath/ModelGlue3
>
> > > 2010/1/14 Bud <[email protected]>
>
> > > > Hi. I hope I'm just missing something obvious. I don't see any way to
> > > > have 2 versions of model-glue running on the same site. Say, for
> > > > example, the app I'm building is designed to run on MG 3. If I go to
> > > > install the app on a site which is already running a MG 2 app, what do
> > > > I do? I was hoping I could simply upload the gesture directory to the
> > > > ModelGlue directory. But it appears the files are different in the
> > > > directories within the ModelGlue base directory (Core, etc.). Can
> > > > unity/gesture live within the same ModelGlue directory? If not, it
> > > > seems as though I'd have to make a ModelGlue3 directory or whatnot,
> > > > then manually change all references to "ModelGlue.gesture" to
> > > > "ModelGlue3.gesture" since I can't have a 2nd ModelGlue mapping.
>
> > > > Any tips here? :)
>
> > > > Thanks.
>
> > > > --
> > > > 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]>
> > <model-glue%[email protected]<model-glue%[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]<model-glue%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/model-glue?hl=en
>
> --
> “Come to the edge, he said. They said: We are afraid. Come to the edge, he
> said. They came. He pushed them and they flew.”
>
> Guillaume Apollinaire quotes
-- 
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