Marc,

I don't have a sample app to show you but I can tell you how I use FB5 with Reactor. Nathan Strutz just released a FB5 Reactor Lexicon that you can download here: http://www.dopefly.com/techblog/entry.cfm?entry=148 I have not had a chance to mess around with it yet but it may be what you're looking for.

My "typical" FB5/Reactor set up goes something like this (I am using a MVC approach):

I am using an initialization fuse that I call in the fusebox.xml file using the new <appinit> tag. In the initialization fuse I put an instance of the Reactor Factory in the application scope.

The only real thing that is different is that rather than using the cfquery tag for CRUD type stuff I'm using reactor. So a typical fuse to list all the records in a table would look like this:

<!--- Create the gateway --->
<cfset analystGateway = Application.Reactor.createGatew
ay("Analyst") />

<!--- Generates a list of analysts --->
<cfset analystQuery = analystGateway.createQuery () />
<cfset qAnalyst = analystGateway.getByQuery(analystQuery) />

I have tried using the set tag in a fuseaction and could not get it to work. In theory it should work but I've not had any luck and haven't really messed with it in a while.

Let me know if you have anymore questions.

Ray


On 8/15/06, Marc Funaro < [EMAIL PROTECTED]> wrote:
I need a fusebox 5/reactor example app... Is there one available for
download somewhere?

Marc



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

Reply via email to