damn i hope i never have to update your code, lol

personaly, I will get off my lazy ass and type and additional 2 lines to add a 
header and footer and the main reason is that when I include a header (via 
cfmodule) I can also add a dynamic page title to each page for search engines, 
like so : <cfmodule template="/includes/header.cfm" title="Send Us Your 
Comments and Questions">

And for those who can't stand to lose the 2 seconds it takes to do that then 
just make a snippet of the basic layout and click on it and add in between.

As far as adding a seperate application.cfm to sections where they would have 
to put it to break to root app.cfm, thats umm, kinda dumb and besides you 
should be using application.cfc now

As far as doing it to save space well I have seen most of your guys code and u 
add so much extra crap just to be "cool" that it is far more than adding 2 
lines to make it a bit more "portable" and not because ur to lazy to do it.

~Dave the disruptor~
google will pay you money to getting rid of ie :)
http://explorerdestroyer.com/
http://www.killbillsbrowser.com/ 

----------------------------------------
From: Claude Schneegans <[EMAIL PROTECTED]>
Sent: Friday, December 30, 2005 5:12 PM
To: CF-Talk <[email protected]>
Subject: Re: HTML In Application.cfm 

>>BOTH will include the header and only in one place....so why not use 
the best
practice and include it via the template and not Application.cfm??

Who said "it is the best practice"?
If you consider Application.cfm as tool which can (among many other 
things) generate a header,
why is it so evil to let it generate the header ?
Of course, if you need different headers depending on parts of the 
application, then CFINCLUDE them...
..... OR store the different parts of your application in differnet 
directories, and...
..... use a specific Application.cfm to generate the particular headers ;-)

This is MY best practice.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228047
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