I always split up my logic into various files - queries, business logic, display
files, etc. but in your case, I would highly recommend you consider using the CFSWITCH
syntax. So long as your IF statements are merely flow control statemetns, the
CFSWITCH tag should work fine for you needs.
---mark
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
> -----Original Message-----
> From: W Luke [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 04, 2000 6:11 AM
> To: CF-Talk
> Subject: CFIF discussion
>
>
> Hi,
>
> I'm 5 weeks into Cold Fusion and have a question for the
> Experienced Masses.
>
> So far in my programming, I try to keep all the code in one file
> as much as
> possible. For example, if I have a form that is used as part of a Query,
> then I'll obviously "post" that form' data to the same page,
> resulting in a
> number of <cfifs>.
>
> However, at what stage would you suggest that this isn't a good
> idea? I've
> been doing a small sub-project today which is about 400 lines long, and by
> 17:00 will be considerably bigger. Is this a case of "whatever suits you
> best?"
>
> I'd be interested to hear everyone's opinions.
>
> Will
>
>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message
to [EMAIL PROTECTED] with 'unsubscribe' in the body.