Completely agree.. We've had that issue come up many times.

Application.cfm isn't the place to do formatting.




| -----Original Message-----
| From: Aaron Johnson [mailto:[EMAIL PROTECTED]] 
| Sent: Wednesday, December 11, 2002 3:09 PM
| To: CF-Talk
| Subject: Re: application.cfm vs. cfinclude
| 
| 
| > But if he is already including it at the top of each page, 
| and this is 
| > going to continue to be the case, then I do not see any 
| reason why you 
| > could not do this.
|  -- I do... inevitably, you'll come to some point in your 
| site where you'll want to output only x number of 
| characters.... or you just want to show an image.. something 
| that's an exception to the normal rule.. your application.cfm 
| will then be spitting out DTD's for an image, which will 
| break this exception page.. 
| 
| Those examples might seem far off, but let the 
| application.cfm just do application logic... use a cfinclude 
| tag for ANY formatting. I can't see any reason why you would 
| want to include formatting in application.cfm.
| 
| AJ
| 
|  
| -- 
| Aaron Johnson
| http://cephas.net/blog/
| [EMAIL PROTECTED]
| 
| 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to