I think you're confused about how we "move things around". I don't typically
move a circuit from where it is to another place in the same application. When
I refer to moving a circuit, I generally mean reusing the same code in another
application/site. If I do this, all I have to do is tell the circuit's
immediate parent of its existence. Done.
Before all else, the XFB framework is hierarchical. Therefore, a circuit will
never refer to another circuit that is not its child (i.e., in its repertoire).
Therefore, a circuit on the second level of a hierarchy is unaware of and
unable to use other circuits on its same level. Its PARENT (first level), on
the other hand, sees and can use all the second-level circuits, so a child can
appeal to the parent for services from a sibling. You must honor the hierarchy.
Bottom line: if circuits.cfm or any of these ideas give you nosebleeds or make
your shorts itch, don't use 'em! If you have a local standard that makes your
apps rock, more power to ya. That's how it's supposed to work.
- Jeff
On 6 Apr 2001, at 12:02, Patrick McElhaney wrote:
> Say you have an admin circuit under cart, and you want to move
> it somewhere else. How will you update your circuits.cfm in
> cart to point to the new location of admin? You can't.
>
> I decided I would get around that by just making my basic
> framework very rigid and not move things around a lot after
> they've been snapped together. It's okay that the framework
> is rigid, because I use XFAs and other parameters to
> change how the application works. It might require me to
> put a little more thought into the design phase, but that's
> never a bad thing. ;-)
>
> Because I won't move circuits around (at least not without
> a trip back to the drawing board) I have no need for
> circuits.cfm.
>
> And as a result, the design is much simpler.
>
> Patrick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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