My only exceptions to these would be:

> Includes
>
> Should Not Contain: Application Logic. Processes or functions.
>

A lot of times (depending on the app) I stick functions  (UDFs) in an
include. I have a lot of utility functions that (arguably) don't really need
to be in a cfc.

Custom Tags
>
> Should Contain: Reusable,  Dynamic UI or presentation code. (IE
> generic headers that accept passed parameters for customization)
>


I generally use custom tags as views for encapsulation purposes. What
happens in Vegas, stays in Vegas. Then I stick the aforementioned functions
in the request scope or a stuct and/or array to pass into the views.

G!


-- 
Gerald Guido
http://www.myinternetisbroken.com

"Wait. We can't stop here. This is bat country."
-- HST


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339143
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to