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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to