Not in MVC. In MVC the model, the view, and the controller are all separate objects. It is certainly valid to use a CFC to represent each of these pieces and as such there is no calling template.
Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 4:30 PM > To: CF-Talk > Subject: RE: CFC output > > Does this back up what I said though? If you break away the display from > the logic used to generate it, wouldn't the display be left to the > calling template and not the CFC? Ie, for the method, um, whatever, the > method would return a string and the caller would handle outputting, or > perhaps saving it to a file, whatever, the point is that the CFC > wouldn't output, it would just return the result. The caller would > handle the result. > > ======================================================================= > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > > Email : [EMAIL PROTECTED] > WWW : www.camdenfamily.com/morpheus > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Kevin Bridges [mailto:[EMAIL PROTECTED]] > > Sent: Monday, December 09, 2002 3:23 PM > > To: CF-Talk > > Subject: RE: CFC output > > > > > > Think we should listen to Matt on this one ... 3 letters for > > dealing with > > cfcs: MVC (Model - View - Controller) ... learn it, live it, love it. > > > > Kevin Bridges > > > > -----Original Message----- > > From: Matt Liotta [mailto:[EMAIL PROTECTED]] > > Sent: Monday, December 09, 2002 2:09 PM > > To: CF-Talk > > Subject: RE: CFC output > > > > The logic used to derive those results should be decoupled > > from the display. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

