I don't disagree that CF can be integrated to display data. It has to in a pure HTML environment. I just have never heard CF referred to as a presentation server.
I guess it depends on how you look at the implementation. Conan, I totally agree with the way that you explained it because all your doing is replacing the Model layer with Java. Makes sense to me. I have always understood the that we are to abstract the data from the View since CF's job is data extraction(from the Model), Business Logic., and Controlling flow. CF should be resposible for display of the data, extract it and hand it off. I think that is where Flash comes in nicely. If you deliver the View in Flash then you have a nice seperation of the layers. CF just does a pure hand off from CF to Flash. I guess it becomes less clear with HTML. Cheers. Dan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Woodward Sent: Thursday, September 23, 2004 8:54 AM To: [EMAIL PROTECTED] Subject: Re: Where: Java with ColdFusion That's a great explanation Conan--particularly since this came up in the context of using Java, a very typical scenario with CF/Java applications is that the backend is in Java, and CF is used for the presentation layer, for example from data presentation forward. There was an article about this sort of scenario in a CFDJ a year or so ago--I'll see if I can hunt it down. Matt On Thu, 23 Sep 2004 01:11:31 -0500, Conan Saunders <[EMAIL PROTECTED]> wrote: > I agree with Daniel's original characterization. To clarify: > > Some operations that might occur in the view layer: > -skinning/templating -parsing input > -formatting output based on output received from the Controller > > All those operations can be done with CF, with plain HTML as just the > very outermost interface to the user. I suppose it boils down to > semantics, but your presentation layer does not have to be strictly > client-side. As far as I'm concerned, the functionality I listed above > belongs in the View, not the Controller, and I can do those things > much easier server-side than client-side. > > Your Controller (CF or your CF-based framework of choice) takes parsed > inputs received from the view layer (CF) and initiates actions on the > Model > (java) based on those inputs. > > You have the best of both worlds: your model gets to exist in the > abstract world of objects (where java works well); your controller and > view get to use CF where CF's ease of use pays off. > > Conan > > At 09:55 PM 9/22/2004, you wrote: > >Daniel, > > > >I am not following you with this implementation of the MVC Design > >Pattern. ColdFusion is not a Presentation Server by any means. CF > >and JAVA can work hand in hand to implement MVC but I am not sure why > >you describe CF as handling ANY presentation at all. Your > >presentation layer is handled through FLASH MX or HTML. You can use > >CFC's and or Java servlets to handle your Controller and Model > >Layers, but CF and JAVA are server based programming languages. > > > >With CF, we architect solutions to separate the CF from ANY Front End > >functionality, albeit it does have the capabilities of rendering > >graph's, etc. > > > >Any how, I look forward to any response because I am curious as to > >how you came up with this concept of CF as a Presentation server. > > > >Thanks in advance > > ---------------------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm ---------------------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
