> 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.
All I have to do is drop it in. I don't even have to tell the
parent. I'm basically using the same technique as you described,
except that I don't bother with circuits.cfm. I don't think it's
necessary.
> 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.
Very well stated! I've been trying to make that point, but just
couldn't figure out how to explain it.
> 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.
Yes, but it's not about personal preferences. It started out as
me just trying to grok the whole nesting thing. Now it's more
about bouncing an idea off you guys. I want to see if you can
punch some holes through it and help me figure out if it's worth
working into my local standard. And I'd be willing to bet if I
decide it's worth working into my standard, a lot of other
people will find it useful too. If not, that's cool too. That's
how it's supposed to work. :)
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