Re: CF and OOP - Controller

2007-01-09 Thread Matt Quackenbush
Rich, Thanks for the kick-ass reply. Somehow it got buried beneath the piles of email, and I just now saw it; sorry about that. Your post is most informative, and very helpful. As of a couple of days ago, being 6+ weeks behind on a project that I was going to run on my new framework has made

RE: CF and OOP - Controller

2007-01-09 Thread Richard Kroll
Matt, Glad I could help. Good luck on your project and the OO adventure! Rich Kroll ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2

RE: CF and OOP - Controller

2007-01-02 Thread Richard Kroll
Firstly, I applaud your work in attempting to truly understand how OO works and how to apply it to CF. I just wanted to chime in and give you a few things to think about when you are trying to understand / build an MVC app. I looked at the problem of building an MVC application and looked to

Re: CF and OOP - Controller

2006-12-31 Thread Robertson-Ravo, Neil (RX)
31 00:23:46 2006 Subject: Re: CF and OOP - Controller Jon, Thanks for the FAQU tip; it sounds like I definitely need to read the article(s). I keep meaning to subscribe, but I keep forgetting to. Hopefully I'll remember to do so when the next check comes in (before it's all spent!) :-) You've

Re: CF and OOP - Controller

2006-12-31 Thread Dan Vega
this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Matt Quackenbush To: CF-Talk Sent: Sun Dec 31 00:23:46 2006 Subject: Re: CF and OOP - Controller Jon, Thanks for the FAQU tip; it sounds like I

Re: CF and OOP - Controller

2006-12-31 Thread Matt Quackenbush
Hmmm... I tried to do that, but when I submit the form, it gives me only a blank page (with just the masthead and sidebar). I tried on 4 different browsers, and got the same result. :-( On 12/31/06, Dan Vega [EMAIL PROTECTED] wrote: I just picked up a single pdf download for 6.95. This way I

CF and OOP - Controller

2006-12-30 Thread Matt Quackenbush
I do not come from a programming background. I, like many in the 90s, picked up CF (v. 4) because of its tag-based ease of use. I was pretty damn good with HTML, and said: cool! tags! I can learn this and not pay someone else to do it for me. Within the last 12 months or so I've been

Re: CF and OOP - Controller

2006-12-30 Thread Jon Clausen
Matt, I'm not going to claim to be an OO guru. If you haven't yet, I highly suggest picking up the Fall issue of the Fusion Authority Quarterly Update, which is basically all OOP stuff. I had so many ah- ha's going through that cover to cover that I literally felt embarrassed at times

Re: CF and OOP - Controller

2006-12-30 Thread Doug Brown
Well Matt, I think you are stepping outside the realm of Coldfusion when you are talking about objects and controllers. Sure CF is going a little more towards the OO methods of programming, but in a very lose sorta fashion. your CFC is in most ways a controller in that you do not write any display

Re: CF and OOP - Controller

2006-12-30 Thread Matt Quackenbush
Jon, Thanks for the FAQU tip; it sounds like I definitely need to read the article(s). I keep meaning to subscribe, but I keep forgetting to. Hopefully I'll remember to do so when the next check comes in (before it's all spent!) :-) You've definitely helped clear the muck a bit. I'm pretty

Re: CF and OOP - Controller

2006-12-30 Thread Matt Quackenbush
Doug, I understand your point that CF is not a true OO language, but since it is now possible to quickly and efficiently apply so many great OO principles to CF, I want to learn every bit of it that I can as it relates specifically to CF. There are three main reasons for that: 1) from a

Re: CF and OOP - Controller

2006-12-30 Thread Dave Merrill
Question # 1: Am I correctly understanding what a 'controller' is? As I understand it, in an MVC environment, the controller is what handles all the various tasks required prior to rendering the requested page. I think of the controller as the orchestrator, the one who examines the context,

Re: CF and OOP - Controller

2006-12-30 Thread Matt Quackenbush
On 12/30/06, Dave Merrill [EMAIL PROTECTED] wrote: I think of the controller as the orchestrator, the one who examines the context, calls the models needed to get any data required, then passes that to the view for rendering. He's the traffic cop, kinda. Precisely. That's a much better way

Re: CF and OOP - Controller

2006-12-30 Thread Nicholas M Tunney
If you are building a framework, your framework core should be the one to convert the form and url scope into a struct within the framework's datastore object. At that point, you can pass the datastore into each controller upon instantiation. Since the object will be passed by reference, it

Re: CF and OOP - Controller

2006-12-30 Thread Matt Quackenbush
Nic, Thank you for that. I actually just finished reading a couple of articles on your blog that I thought cleared that up for me, and your reply here verified that your articles actually DID get thru my thick skull. :-) Matt