I would investigate migrating it to FB5 because the FB debug is awesome. You
can turn the CFdebug off then.

Greg

On 7/25/07, Sandra Clark <[EMAIL PROTECTED]> wrote:
>
> Development mode forces a reload of the circuit files, parsed files and
> the
> fusebox with each call.  Production mode will only reload the parsed files
> if they aren't there and it won't pick up changes in the circuit files
> either.  The problem is that forcing the recall from production mode to
> pick
> up the changes requires the url variables I mentioned.
>
> Use development mode now, change to production mode once you are ready to
> deploy to the production server.  Development modes are not thread safe.
>
>
> Sandra Clark
> =============
> http://www.shayna.com
> Training and Consulting  in CSS and Accessibility
> Team Fusebox
>
>
> -----Original Message-----
> From: Mike Kear [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 25, 2007 10:56 AM
> To: CF-Talk
> Subject: Re: Fusebox - is there a trick to following the flow?
>
> Sandra,  thank you!    That looks extremely helpful.
>
> What does <parameter name="mode" value="development " /> do?   Does it
> force a reload of the XML files every page view?  If so, that's what
> i've been looking for for days now!
>
> And yes, this app seems pretty well written by the previous guy.  IT
> reuses code a LOT.  It is built on MVC archtecture everywhere.
>
> But it's big though.    In the main folder there are 29,547 files to
> come to grips with!
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
>
> On 7/26/07, Sandra Clark <[EMAIL PROTECTED]> wrote:
> > Couple of things that will help in Debugging a Fusebox 4+ app.
> >
> > 1) Validate the XML in circuit.xml.cfm.  Fusebox will burp on bad XML.
> >
> > If an error shows up in the parsed file.  (circuit.fuseaction.cfm) then
> the
> > error is in the circuit.
> >
> > Most well done FB4+ apps usually use MVC.  The controller will act as
> your
> > traffic cop.  Noting which parsed file is throwing the error, will
> enable
> > you to quickly move to the controller circuit and fuseaction.
> >
> > In fusebox.xml.cfm  make sure that in the <parameters> section that
> > <parameter name="debug" value="true" />.  This will turn on some
> debugging
> > in your parsed files so that you can go down to where the error is and
> find
> > out which circuit file and lines are throwing the actual error.  Make
> sure
> > to turn this off once you go into production.
> >
> > Always develop in <parameter name="mode" value="development " /> (for
> > Fusebox 4) and <parameter name="mode" value="development-full-load" />
> (for
> > Fusebox 5+)
> >
> > Once you go into production  <parameter name="mode" value="production"
> />
> if
> > you need to change something in your circuits, delete all parsed files,
> and
> > call your page with
> > http://yourwebsite/index.cfm?fusebox.load=true&fusebox.password=  (you
> set
> > your password in the parameters section of fusebox.xml.cfm using
> <parameter
> > name="password" value=""/>.
> >
> >
> > Sandra Clark
> > =============
> > http://www.shayna.com
> > Training and Consulting  in CSS and Accessibility
> > Team Fusebox
> >
> >
> > -----Original Message-----
> > From: Mike Kear [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 25, 2007 8:29 AM
> > To: CF-Talk
> > Subject: Fusebox - is there a trick to following the flow?
> >
> > I have inherited a fusebox4.0 app to maintain that has dozens of
> > circuits that are reused all over the place.  I know that's how
> > fusebox is supposed to work, and it makes sense to reuse the fuses,
> > but wow it takes AGES to follow the flow of the program.   And i end
> > up with dozens of files open, all called circuit.xml.cfm so its easy
> > to make a mistake following it all along.
> >
> > For example I have to figure out how something works, so i can
> > maintain it, or build something else similar.  In order to find out
> > how the task works, i follow one xml file through, seeing dozens of
> > fuses, all of which i have to go to, open the circuits.xml.cfm
> > relating to it, follow that one along, then open more.  By the time
> > i've got to the final, actual coldfusoin type tags relating to the
> > functionality, i've almost forgotten what it was i started out to do.
> >
> > Is there a shortcut to working out how everything's bolted together?
> > If i keep taking hours to work out the simplest things i'm not going
> > to last long on this assignment.
> >
> > --
> > Cheers
> > Mike Kear
> > Windsor, NSW, Australia
> > Adobe Certified Advanced ColdFusion Developer
> > AFP Webworks
> > http://afpwebworks.com
> > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
> >
> >
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284592
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