| OK, I'll throw in here. When I first started with CF back in '97, I'd been programming or "developing" as a hobby since I was 9... which means (blech) that I wrote my first computer program almost 25 years ago. HELP ME!! ;) I was still doing CFMX like it was CF5 as late as 2002... call me oblivious, I just didn't have a lot of exposure outside my little environment. But I got back to going to CFUGs and started reading more about CFMX and CFCs and stuff... and I met Sean on CF-Talk. Finally after years and years of wondering and even asking repeatedly, someone started to explain things a bit and I started reading blogs, articles online, and things like Ray Camden's ColdFusion Dev Guide... Guy Rish's chapter on OO and encapsulation was the thing. I "officially" started learning OO one year, one month and nine days ago. I don't know why Jan 12 2005 got glued into my head, but it did. I caught the bug. I still get lost in my applications... I think I tend to overcomplicate things by trying to write n-tier applications from the start rather than letting controllers have a little more authority than they should. Often I get the idea right away, but when I go to use it I sit there staring at my graph paper wondering where to start. It's getting easier and easier all the time, though. What was key was understanding the basics... what's an object, what's an instance, what's a class, what's encapsulation, polymorphism, and inheritance, yadda yadda. It's hard going from PP to OOP because with OOP you so often start with the "don't worry about what it does, worry about what it is" but from a procedural background there is no "is"... there is only does. So looking at examples like C++ or Java that have a main() method that kicks off the loading, starting, INSTANTIATING! hehe really helped me see... OH I get it, sequence over procedure... bah, syntax sux. Anyway, I basically learned OO by nagging friends with questions (and some even still talk to me!) and by reading Mach-II's source code, believe it or not. That was where I started to see patters like index.cfm bootstrapping the framework into the application scope, method chaining, and how encapsulation really works in a CF application. My biggest challenge now is abstraction... it makes my brain hurt. I'm working on writing an event validation framework/library that allows Fusebox, Mach-II or ModelGlue to validate data in the "event" (or the attributes scope, as Fusebox calls it) and I've got 99% of it done. It's that last 1% that involves the highest level of abstraction and deepest set of composite objects that's proving hardest because I can't SEE it. I guess you could say I'm very visual, so I'm actually starting to contemplate using coins and colored string to model my applications. ;) If anyone wants more info on Sting just let me know. It should be most cool because it'll allow an entire event to be validated with one validate() call, has strict or loose validation, etc., and will make the validation side of things as much a snap as Reactor makes the DB side of things. I know that the "seeing it" thing is actually offset by... gasp... UML. I'm just not good enough at predicting what objects will go where yet to be very good at modeling, then writing... one day soon i hope. For now, it's all about the coffee, graph paper, and coins+colored string. Hehe.. Anyway, enough of the commercial. Suffice to say I've been at OO for a year and still literally get dizzy headaches from it once in a while... but it gets easier and easier all the time and I keep getting faster at it to boot. Laterz! J ------------------------------------------------ Jared C. Rypka-Hauer Continuum Media Group LLC Member, Team Macromedia - ColdFusion "That which does not kill me makes me stranger." - Yonah Schmeidler On Feb 21, 2006, at 4:02 PM, Sean Corfield wrote:
|
- [Reactor For CF] OO terminology etc (was: MG RoCS Sean Corfield
- Re: [Reactor For CF] OO terminology etc (was: MG Ro... Jared Rypka-Hauer
- Re: [Reactor For CF] OO terminology etc (was: M... Ken Dunnington

