> From: Johnny Le [mailto:[EMAIL PROTECTED] 
> I shouldn't have given that specific example.  My reason for 
> bringing this whole issue up is that people say beginners' 
> code has a lot of CFIF statements.  I am using Fusebox now.  
> So it elimates a lot of CFIF statement already, but I still 
> feel that I have too many CFIF in my code.  I am just looking 
> for alternative, better, and more efficient methods to handle 
> all of those conditional statements.

Who says beginners code has a lot of cfif statements? Why are they bad if
they are needed. I have worked on a lot of applications where a good number
of if statements were needed all over the place... why is this bad? How does
fusebox eliminate the need for conditional logic? Are you using FB4?
FB4.1?... <if condition=""></if> = <cfif></cfif>???? Sometimes a case/switch
structure is a better choice over cfif/cfelseif/cfelse/cfif; usually when
there would be more than one (1) cfelseif, otherwise they perform the same.

Mike



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192160
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to