I've tossed the idea around of moving presentation into CFCs but I always come back to the same issue. That the presentation layer needs to be simple and have very little non-design code as possible. Usually, in a team eviorment, the person who is writing the HTML is not very technical. So you probably don't want them messing around in the cfc.
So if you are going to use CFC, figure out a way the CFC can pull in external HTML files, rather than have it within the CFC. -adam > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 03:57 PM > To: [EMAIL PROTECTED] > Subject: [CFCDev] Presentation Layer Patterns > > I am researching at various ways to improve the way an existing "enterprise" > (aren't they all) site or app generates views. Right now common presentation > modules (i.e unordered list or random content blocks) are stored in cfmodules. > > I know there has to be a better way to leverage the power of CFC along with some > design patterns for the presentation layer to create some kind of presentation > engine. > > Some of my initial thoughts are that the benefits of such a structure would be > the encapsulation of various views into parent and child classes and therefore > would allow us to effect changes on either a granular level or a global level > rather easily. > > Anyone out there care to share some of their experiences when designing the > presentation layer of their web app? > > Thanks, > > Sean Scott > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
