I know these may be newbie questions - but I am just trying to get my brain
around the way this works. 
 
Thanks,
 
Josh

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Scott
Sent: Monday, March 13, 2006 4:52 PM
To: [email protected]
Subject: [Reactor For CF] A few MG / Reactor Questions - Newbie Alert!


Doug (or whoever),
 
I have a few questions. I am reading through the Reactor Blog login code and
have a few questions.
 
1. From UserController.cfc you call DoValidateLogin which creates a
UserRecord variable as follows:
 
<cfset var UserRecord = arguments.event.getValue("UserRecord") />
 
My first question is how is there a UserRecord object already in the event?
I have not found it instanciated anyplace yet.
 
 
2. Then you do the following: <cfset
arguments.event.makeEventBean(UserRecord)
 
Is makeEventBean() a core MG function? If so what exactly does it do?
 
 
3.  In UserRecordmssql.cfc the login function create an instance of
UserGateway as follows:
 
<cfset var UserGateway = _getReactorFactory().createGateway(_getName()) /> 
 
The question is what significance does the underscore "_" have in
_getReactorFactor() and _getName()?
 
 
4. And this maybe the most newbie question of the bunch.... What is the
purpose of creating the scope facade?
 
 
Thank you for the help.
 
 
Josh


 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

<<attachment: winmail.dat>>

Reply via email to