House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Mach-II

Dynamic content within MachII

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Dynamic content within MachII

I'm currently working on designing a site using CFMX 6.1 that will display Merritt Chapman 02/04/2004 05:33 PM

02/04/2004 05:33 PM
Author: Merritt Chapman Short Link: http://www.houseoffusion.com/groups/mach-ii/thread.cfm/threadid:76#205 I'm currently working on designing a site using CFMX 6.1 that will display content dynamically depending on session variable values.  I am implementing the MachII framework with this site, but am having trouble deciding how the handle the dynamic pieces of my design.  For example, I have a CFML page consisting of buttons that are displayed based on <cfif> statements that use session variables for decision-making.  This 'buttons' page is included into a main template using a <cfinclude> tag.  To stay true to the MVC pattern, I would need to remove the <cfif> statements from my 'buttons' page view to keep 'presentation' and 'logic' separated. I've read in best practice articles that CFCs should never be used to output content.  How can this be accomplished if CFCs, the building block for the Model in the MachII framework, are not meant for displaying output?  Would a custom tag be the best approach here? Any insight on this would be much appreciated.  Thanks! ------------------------------------------------------- This message (including any attachments) may contain confidential and privileged information.  If you are not the intended recipient, please notify the sender and delete all copies of the original message without using or disclosing it.  Thank you. -------------------------------------------------------
<< Previous Thread Today's Threads Next Thread >>

Search mach-ii

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference