I pass in a reactor.config.config object.
I’ve included another version which
utilizes asynchronous gateways to create the objects in parallel. You’ll
need to run coldfusion 7 enterprise edition to utilize this, and set up an asynchronous
gateway named CompileReactorObjectsForAlias to point to wherever you install
CompileReactorObjectsForAlias.cfc
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Scott
Sent: Wednesday, June 21, 2006
12:42 PM
To: [email protected]
Subject: Re: [Reactor for CF]
Suggestions for ReactorCompiler.cfc
Can you give me an
example of how you are using this? Since passing the reactor.xml file is
not sufficient. I see that you are passing in a config object... an
example would be great.
Thanks,
Josh
On 6/21/06, Porter, Benjamin L. <[EMAIL PROTECTED]>
wrote:
See the one I posted a few posts back. It loads the config
from a config object.
Jared,
Do you have a version of the compiler that will run with reactor running under
MG 2? The current version barfs because there is not config block and all of
the config is handled by ColdSpring. I thought about rewriting the compiler to
get the config from CS, but wanted to know if you already had something that
did that.
Thanks,
- JS
On
6/20/06, Jared Rypka-Hauer <[EMAIL PROTECTED]>
wrote:
Yeah, Doug doesn't support the compiler cfc because
it's
something I wrote and contributed. I've heard of several
different efforts to imporve it with varying levels of
success. ;) You're welcome to send suggestions along to
[EMAIL PROTECTED]
and I'll do what I can to add
features to it.
Mind you, I wrote that thing with my own needs in mind, so
it's probably pretty narrow in terms of the audience it can
serve. Please send suggestions along and I'll do what I can
to enhance it.
Thanks,
J
On Tue, 20 Jun 2006 15:46:48 -0500
"Porter, Benjamin L." <
[EMAIL PROTECTED]> wrote:
> I just did something like that with Jareds compiler code.
> There are a
> bunch of other changes that are probably not appropriate
> for most
> people, but feel free to change the code as you need.
>
>
>
>
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:
[EMAIL PROTECTED]] On
> Behalf Of Newby
Matthew S
CONT PORT
> Sent: Tuesday, June 20, 2006 10:33 AM
> To: '[email protected]'
> Subject: [Reactor for CF] Suggestions for
> ReactorCompiler.cfc
>
>
>
> Doug,
>
>
>
> I noticed that the ReactorCompiler.cfc generates a bunch
> of output and
> uses the CFFLUSH tag to display output along the way. I
> tried to create
> one of these objects on my Fusebox page and got errors
> because of the
> way I'm using the contentvariable stuff (cfflush doesn't
> work in a
> cfsavecontent tag). So, I recommend a third argument to
> the run
> function, "doFlush", which is a boolean defaulted to
> true. Then wrap
> all the cfflush tags in <cfif doFlush><cfflush
> /></cfif>... Does this
> sound feasable?
>
>
>
> Second, we have some requirements to not put usernames
> and passwords in
> cleartext in our source code. So we've got these values
> encrypted in
> protected directories and only set our DSN usernames and
> passwords by
> using functions on variables in our source code. Also,
> depending on who
> you are, when you log in to an app we check to see what
> application
> roles you have and give you either a read-only user, a
> general user, or
> an admin user id. So, to get the reactor object set up,
> I've put our
> DSN in the Reactor.xml , but have left the username and
> password out of
> the xml file. When creating the reactor object, I first
> create a
> reactorconfig object, load in the xml file to get the
> object
> relationships, then use the setUsername, setPassword
> methods to put the
> right info into the reactorconfig object. Then I pass
> this object to
> the reactor.reactorFactory init() method. However, this
> process does
> not work in the ReactorCompiler.cfc. It needs the
> username and password
> in the clear in the Reactor.xml. Is there any way the
> run() and/or
> init() methods in the compiler could use a config object
> like the main
> reactorFactory does? I wish I knew more about how to
> write this
> stuff...
>
>
>
> -matt
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
****************************************************************************
This
email may contain confidential
material. If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
***************************************************************************
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
****************************************************************************
This email may contain confidential material. If you were not
an intended recipient, Please notify the sender and delete all copies.
We may monitor email to and from our network.
***************************************************************************
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|