Actually I disagree with this. It is true that breaking up code into smaller blocks that are contained in several files can make code hard to follow. Sometime you go from
template -> includes -> tags -> storedprocs -> to database -> triggers.. which can be pretty confusing. However the benefit of this approch becomes evident when you start changing code. And good documentation will help you here... Of course there is a difference between good abstraction and just writting spaghetti code, and I've written both:-) WG -----Original Message----- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 18:01 To: CF-Talk Subject: RE: CFINCLUDES and RE: CFC Performance Best Practice Ok Sean, on the performance I read that somewhere but cannot recall where, when I do I will point it out. With regard to coding bad practice I have no doubts that multiple layers of nested includes-custom tags are bad practice as they make code very hard to read and follow. Our opinion here at Webapper is that all who see our code should be able to fully understand what we did, how and why and even with the best of commenting multi-level nested includes are very hard to follow. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper <Web Application Specialists> -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:35 AM To: CF-Talk Subject: Re: CFINCLUDES and RE: CFC Performance Best Practice On Monday, Mar 24, 2003, at 09:30 US/Pacific, Mike Brunt wrote: > Am I right in my assumption that nested CFINCLUDES/CUSTOM TAGS cause > performance issues in CFMX? I am fully aware that they are bad coding > practice but just wanted to clarify this point. News to me... both that they supposedly cause performance issues and that they are bad coding practice... could you clarify for me? Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4