>>One common reason is simplification - it's just easier to work with a
module that does one thing. You immediately know where to go to change how
that one thing works, for example.

Right, and this applies particularily well to putting any header HTML 
code in Application.cfm ;-)

 >>For example, a coworker had to add support for RSS and mobile devices 
to a
huge site last week. He was able to do it very quickly, because all he had
to do was write a separate set of display code. He didn't have to worry
about how it would affect the existing display code or the business logic of
the application.

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.

I don't mean that everything should be put everytime in Application.cfm.
I'm just against this kind of rule that states "this is THE best 
practice, period!".
A "best practice" is just like "the best tool": it depends what you have 
to do with it.

I do use index.cfm?action= type of coding, I also use CFINCLUDE 
TEMPLATE="header.cfm",
I also put some HTML sometimes in Application.cfm, it depends what I 
think is the best
depending on the situation, I do not work one hand on the keyboard, and 
a bible in the other hand :-)

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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:228044
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