No, the code for MG (for example) creates CFCs that are not found in
our virtual-host multi-homed system if the files are just put in a
site's webroot. E.g., line 12 of ModelGlue.cfm:
<cfset application[ModelGlue_APP_KEY]= createObject("component",
"ModelGlue.Core.XMLModelGlueLoader").init().createModelGlue(ModelGlue_CONFIG_PATH)
/>
causes an error because the component can not be found. I have a
ModelGlue directory straight under my site's webroot.
On 2/23/06, Raymond Camden <[EMAIL PROTECTED]> wrote:
> You can put the ModelGlue files under your own web root. It will run
> from there no problem. This even allows for different sites to have
> different MG versions.
>
>
> On 2/22/06, James Holmes <[EMAIL PROTECTED]> wrote:
> > I've been examining CF frameworks; it appears that many require either
> > a mapping or installation into the CF wwwroot.
> >
> > On a shared host, this is a problem. If everyone on the box wants to
> > use, for example, Model-Glue, we need to have the MG core files in a
> > "ModelGlue" under the "/" mapping. If a MG version upgrade is done, we
> > all need to coordinate the upgrade (or risk broken code) and if one
> > area wants to hold off, we all do.
> >
> > Are any frameworks free of this structural requirement?
> >
> > --
> > CFAJAX docs and other useful articles:
> > http://jr-holmes.coldfusionjournal.com/
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233191
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54