On 7/25/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> What does <parameter name="mode" value="development " /> do?   Does it
> force a reload of the XML files every page view?

Yup. It'll makes things run slowly (since the framework is reloading
on every request) but it will enable you to test the changes you are
making more easily.

If you are using Fusebox 5.x core files, you probably want
development-circuit-load for mode instead since that will be faster
(but won't pick up changes to fusebox.xml.cfm - you need to force a
fusebox.load for that).

Also, if you used the Fusebox 5.x core files, you can enable
debug/tracing by adding:

> > In fusebox.xml.cfm  make sure that in the <parameters> section that
> > <parameter name="debug" value="true" />.

This will show a couple trace of every fuseaction in a request which
can be very helpful (but it's a new option in Fusebox 5).

Fusebox tries hard not to get in your way as a developer and the
downside of that is that it does not place many restrictions on you in
terms of structure. That makes it possible to create very complex,
unstructured workflows :(

A well-structured Fusebox app is a joy to maintain - as long as
circuit and fuseaction names have been well chosen and the "call tree"
(of <do>) is top-down. It sounds like neither of those are true in the
app you've inherited, especially with calls from low-level circuits
being made back to higher-level circuits which is definitely poor
practice. It would be like having model CFCs trying to call controller
CFCs in Model-Glue or Mach II.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284557
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to