This is interesting, I was searching for a solution to this whole nesting
thing becasue I do the same thing. I have circuits that I call to from other
circuits to run queries and stuff.  During my research I came across this
"SmartObjects" methodology, www.smart-objects.com.

This seemed to be a pretty cool method because you create an object and then
you can define methods (read fuseactions) of that object. So the query would
be a method and then you could refer to that object and pass it that method
and it would return the query object.

There are a lot of similarities between FuseBox and SmartObjects. I am just
wondering if there is a way to marry the two to "finally" come up with a
bullet proof way of nesting circuits and having them to be truly "plug n
play".

Russ Johnson
Manager
Jacksonville ColdFusion Users Group
Home (904)695-9500
Mobile (904)465-1848
[EMAIL PROTECTED]

"Great thinkers have always encountered violent opposition from mediocre
minds." --Albert Einstein


-----Original Message-----
From: Ken Beard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 4:02 PM
To: Fusebox
Subject: another nesting problem


another barrier to plug-n-play circuits is reusable queries.. i include
queries from other circuits like <cfinclude
template="#request.path.cf_root#accounts/qry_accounts_search.cfm">
which would break if the accounts circuits were moved to
approot/maintenance/accounts/

i guess a solution there is to put all your queries in a global directory,
but A. that gets messy with large apps and B. then when you want to copy
that circuit to another application you've got to guess which queries in
the /queries/ directory belong to it.


-----------------------------------------------------
Ken Beard
Manager, Application Development
Stone Ground Solutions
5100 West Kennedy Blvd, Suite 430
Tampa FL  33602
813.387.1235 voice
866.767.4051 toll free
813.387.1237 fax
www.stoneground.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to