Wrong. Absolutely 100% completely wrong.

Your statement about this not working in a shared environment is 180º opposed to the facts.

This WILL work in a shared environment, without a mapping. Put /Reactor/ with all it's subdirectories under the webroot of the site.

And if you use a mapping, any site can use the code. "reactor.config.config" is not the XML file, it's a CFC that contains the XML file's data for that instance of ReactorFactory. You can do this:

<cfset Reactor1 = CreateObject("Component","reactor.reactorFactory").init("/cfcs/Reactor1.xml") />
<cfset Reactor2 = CreateObject("Component","reactor.reactorFactory").init("/cfcs/Reactor2.xml") />
<cfset Reactor3 = CreateObject("Component","reactor.reactorFactory").init("/cfcs/Reactor3.xml") />

At that point you'd have 3 instances of the ReactorFactory for 3 different XML files. The CONFIG IS A CONTAINER, NOT THE CONFIG ITSELF. It is a CFC, not the XML file.

I'm not sure why you have become insistent that Reactor is flawed for shared hosting, but were that the case then the situations where it is BEING USED TODAY IN SHARED ENVIRONMENTS would not be possible.

You may be having problems and frustrations, but you're drawing incorrect conclusions.

Laterz,
J


------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion


"That which does not kill me makes me stranger." - Yonah Schmeidler


On Apr 16, 2006, at 9:16 AM, Mike Kear wrote:

Doug i'm not laying it on you  Just pissed that i spent my precious
family time stuffing about with something that is aparently not going
to work.   My schedule is not your problem.  However if I hadnt been
messing about trying to get Reactor to work in the shared environment
as João  said it would - twice - i'd have got the job done by now.   
As it is i have to spend the next hours (and its after midnight Sunday
now ) doing the job the old way, which I could have done today if i
hadnt been stuffing about with Reactor.

The fact that it wont work  in a shared hosting environment is borne
out by Matt WIlliams, who in effect agrees with me.    In order for it
to work in a shared environment,   you have to either have a mapping
called "reactor", in which case only one site on the whole server can
use reactor (and on a shared server there could  be scores of sites),
or else you have to go through and change the reactor code, for every
site that uses it, every time there is a change in the reactor code.

Had I known this at the outset, or if João had not said TWICE that
reactor in a shared hosting environment was possible, I'd have
finished my job by now and be off to bed, like the rest of my family.


Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 4/16/06, Doug Hughes <[EMAIL PROTECTED]> wrote:
Mike - Your schedule is not our responsibility.   Don't lay it on us.

Doug

Reply via email to