>I use includes within a rendering cfc which provides some nice 
>(but subtle)
>benefits in terms of a literate API for designers so they can 
>say things
>like #display.ContentAred("Sidebar")# and it works, but most 
>people have a
>framework which calls the controller receive the name of the 
>screen(s) to
>display and include them.

One other thing to take into account is using redirect instead of
include if you modify the server state (insert a new db record, etc.)
That way you avoid duplicating that modification if the user hits the
reload button.

/t


You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to