Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Fusebox
Cold Fusion Fuse Box List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About CF Fusebox Methods :
product's home
product's list home
 
  Archived TallyList / Fusebox: 
Subject: Re: Managing program flow
Erki Esken (52p/+0r)     Posted: Thursday 03 May 2001
This post: 71 views, +0 rating

This brings me to another question. How do you do data validation? Do you check for correctly formatted data (coming from URL and FORM and copied to attributes) in every fuse or do you have only first fuse that cleans up (makes sure its numeric etc) the info coming from user and other fuses in the same fuseaction trust the data?

VERSION 1: switch case some_fuseaction include qry_getSomething.cfm // checks incoming vars include qry_getSomethingElse.cfm // checks incoming vars include dsp_something // checks incoming vars /case ... /switch

VERSION 2: switch case some_fuseaction include err_checkUserInput.cfm // checks incoming vars include qry_getSomething.cfm // trusts incoming vars include qry_getSomethingElse.cfm // trusts incoming vars include dsp_something // trusts incoming vars /case ... /switch

-erki

----- Original Message ----- From: "Steve Nelson" <m@secretagents.com> To: "Fusebox" <Fusebox@houseoffusion.com> Sent: Thursday, May 03, 2001 7:09 PM Subject: Re: Managing program flow

> well... they attributes at the top level can be modified by user if you > use the <formurl2attributes> tag, because attributes are essentially the > same thing as the URL and form scopes. > > Does that make sense? > > Steve

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Similar Subject Line Posts (+/- two weeks of this post)
RE: Managing program flow  07 May 2001   (58 v/ +0 r)
RE: Managing program flow  07 May 2001   (62 v/ +0 r)
RE: Managing program flow  07 May 2001   (54 v/ +0 r)
RE: Managing program flow  07 May 2001   (58 v/ +0 r)
RE: Managing program flow  07 May 2001   (60 v/ +0 r)
RE: Managing program flow  07 May 2001   (57 v/ +0 r)
RE: Managing program flow  07 May 2001   (64 v/ +0 r)
RE: Managing program flow  07 May 2001   (51 v/ +0 r)
RE: Managing program flow  07 May 2001   (48 v/ +0 r)
RE: Managing program flow  06 May 2001   (55 v/ +0 r)
RE: Managing program flow  06 May 2001   (62 v/ +0 r)
RE: Managing program flow  06 May 2001   (59 v/ +0 r)
Re: Managing program flow  06 May 2001   (56 v/ +0 r)
RE: Managing program flow  05 May 2001   (47 v/ +0 r)
RE: Managing program flow  04 May 2001   (58 v/ +0 r)
RE: Managing program flow  04 May 2001   (60 v/ +0 r)
RE: Managing program flow  04 May 2001   (55 v/ +0 r)
Re: Managing program flow  04 May 2001   (56 v/ +0 r)
RE: Saving form variables in WDDX (Was: Managing program flow)  04 May 2001   (52 v/ +0 r)
RE: Saving form variables in WDDX (Was: Managing program flow)  04 May 2001   (46 v/ +0 r)
Saving form variables in WDDX (Was: Managing program flow)  04 May 2001   (51 v/ +0 r)
Re: Managing program flow  03 May 2001   (54 v/ +0 r)
Re: Managing program flow  03 May 2001   (54 v/ +0 r)
Re: Managing program flow  03 May 2001 (this post)   (71 v/ +0 r)
RE: RE: Managing program flow  03 May 2001   (52 v/ +0 r)
 

Send a reply to the Fusebox list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000