>>If you use Application.cfm to initialize your application pages, and 
you use
it to generate output, that's two different things.

Ok, but who said one cannot do two different things in Application.cfm?


 >> May be, but on the other hand, when someone will have to modify
 >> something common to the whole application, he will have to look
 >> for all the places some different header can be used.

 >>You seem to be assuming that there are only two choices - put 
something in
 >>Application.cfm, or put it within every page. I don't think those are the
 >>only two options.

Absolutely not, you  said "He was able to do it very quickly, because 
all he had
to do was write a separate set of display code."
This is fine, but the other side of the coin is that you end up with two 
different display templates, then 3, 4,...
If they have some code identical and you have to modify this code, you 
now have 2, 3, 4 ... places to look at.
What I mean is that nothing is PERFECT, so there is NO BEST practice, 
only good judgment to
find the best way to do it depending on the situation.
The method you describe may be fine for very large applications, but 
many people are also working
on small and medium applications. A methodology good for large 
application may be a hassle
for smaller applications.

-- 
_______________________________________
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:228061
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to