[Looking for Charlie's main web site?]

CF and OO and blogs, oh my (a flush of CF-OO blog tutorials)

Note: This blog post is from 2007. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.
Step right up ladies and gentlemen, get your CF-OO tutorials here. :-)

I've noticed a sudden flush of multipart CF-OO tutorial blog series being done, to help people make the leap to using CFML in a more Object-Oriented way. I thought I'd point them out for those who may have missed them:

Don't know if there's a connection between the rather simultaneous releases, or if it's just pure coincidence. Charlie clarified that there indeed was no connection between the two.

And for those who want to get their CF-OO freak on, there are still more resources on the topic.

And there are certainly many more. I'd welcome hearing of those to add to the list. And there may well be more multi-part CF-OO blog series' created before or after now. Feel free to make note in the comments here and I'll update the list for posterity.

Maybe we're starting to reach a tipping point. Of course, there are some who will lament a push to OO (too complicated for them), while others will say you're a hopeless loser if you don't get with the program.

I don't want to debate that here, nor do I really want to see it blow up in my comments, please! :-) Feel free, instead, to point people to where else it may have taken place so that they can evaluate the discussions there instead.

For more content like this from Charlie Arehart: Need more help with problems?
  • If you may prefer direct help, rather than digging around here/elsewhere or via comments, he can help via his online consulting services
  • See that page for more on how he can help a) over the web, safely and securely, b) usually very quickly, c) teaching you along the way, and d) with satisfaction guaranteed
heh. no connection between my series and adrian's.

up until reading it here, i was completely unaware of his blog. looks like i was missing out, because what i just saw skimming over his OO part 1 entry looks very very nice.

i'll say that the main difference seems to be his is more of a "i know stuff and i'm going to teach it to you".... where mine is "i have no idea what i'm doing, so i'm going to 'learn out loud', and you're welcome to try and learn along with me if you'd like, but you may just end up being more confused". :)

I did a series of tutorials a month or two ago that I know a number of people have said were helpful (and which I mention often but I did spend a lot of time on them :). Here they are, to add them to your list.

Objects and Composition series:

No Framework - http://www.remotesyn...

Using ColdSpring - http://www.remotesyn...

Using ColdSpring and Transfer - http://www.remotesyn...

Connecting to Flex - http://www.remotesyn...
I have an ongoing series on creating the 'View' layer

# Posted By Cutter | 8/30/07 1:36 PM
Thanks for posting this compilation - this will be hugely helpful to me.
Thanks, guys. I've updated the entry correspondingly.

Hey Brian, I'd really rather not start creating a long list of individual entries, preferring instead to point to one URL for a given series of CF-OO related entries per blogger. For now, I've pointed folks to the comments for yours. Any chance you'd consider creating a category in your blog to tie together those and any others you may do? I'll understand if you don't want to. It would also just help to keep this list from becoming out of date (whereas with a series URL, people can see all that are related).

Actually, same for you, Charlie. It would help if you had a category for all these entries in the series. For now, I didn't mind pointing to your first one, since it was obvious that it's a series and people could go find the rest. But a single URL would help.

In fact, I did the same for Adrian's but just noticed that he does have an OO link for this series and another he did, and I'll add that to the list of resources separately.
hi charlie:

i did create a category for these entries. "going OO".


Thanks, Charlie. I've updated that. Sorry I missed that. Actually, I did see it, and clicked it, but I misinterpreted it as a link back to the entry itself since it had the same name in the latest entry shown. My bad for not paging down to see that indeed it was a category. Anyway, I should have noticed it on your right category list. Doh! :-(

That said, I'll say it's a shame that category links (in most blogs) always show only items from newest to oldest. Sometimes, especially when viewing a series like this, it would be useful to have it oldest to newest. But that's a broad problem to solve (certainly not unique to yours, Charlie), and usually out of our hands. :-) Something to consider for the cf-bloggers google group. :-)
While these resources are great, I feel lke you should mention some books. I was doing tutorials and channel carehart for a while, but it wasn't until ready some books that it really sunk in. The problem is that the blogs are a supplemental resource.

Head First Object Oriented Analysis and Design

At first I started with HF Design patterns as suggested by so many people. However, I might as well have been reading greek. Now I'm ready Design Patterns and actually understanding where they are coming from.

It really breaks it down nicely and demonstrates OOP principals. Implementation is in Java, but it's easy to understand. It really helps to make all those CF implementation tutorials above lot more helpful.
# Posted By Justin | 8/30/07 3:08 PM
Sure, but those are mentioned in the blog entries I pointed to, or in comments there. No need to repeat all that stuff, I felt. Also, the books are not about CF and OO, but OO in general.

I was intentionally focusing on CF-OO resources. Goodness, if I tried to make it an OO compendium, it would be a huge resource. :-) That said, there are indeed a few classics worth mentioning. Yours was one. Again, the others are mentioned in the other resources. Thanks, though.

And the CF people say ColdFusion isn't OO and most people don't code like this. Perhaps this will be fuel for more OO features in the future.


Constructors and Overloading based on a survey I ran recently.


the fact of the matter is that while cf can be coded in an OO manner, it can also be coded in a non OO manner. so does that make it OO in and of itself?

i'd suggest that your survey results are somewhat flawed. your survey was taken by a small subset of the coldfusion community... mostly, those that read blogs. those that read blogs are arguably more advanced than others (again, arguably). that alone would skew your results as those who voted are not a representative sample of the community as a whole.

ben forta blogged (fairly recently) that most (yes *most*) coldfusion developers don't even use CFCs.

so while a majority of a random sampling of blog reading cf developers may have voted in favor of constructors and overloading... that's hardly enough evidence to suggest that adobe should invest in adding additional OO features to the language.

bear in mind, i'm not saying they shouldn't. i'm just saying that the survey isn't really strong enough evidence to support the argument :)
I'd just like to say that Dale's blog entry on this topic, especially the debate that ensued from others, is just the sort of "other place" I was talking about where debates about CF's OO nature have taken place. It's what I had in mind when I asked people to please point folks to instead of hashing out the debate again here.

I should have just offered the link myself. :-) Here it is now:

It is a random sampling of people from cf-talk, cf-aussie and blogs.

I don't think you need to be too advanced to get on a mailing list. Sure it's a small sample, what % who nows, but still this in relation to the number of posts on OO stuff leads me to believe that the adoption of OO techniques is increasing with CF developers.

I agree that CF isn't OO it's self, but allows OO code, and that OO is the way to code, people get taught OO techniques, so getting things done that way makes more sense, and unless some other thing comes along that is better than OO. I think the uptake will only increase.
Copyright ©2024 Charlie Arehart
Carehart Logo
BlogCFC was created by Raymond Camden. This blog is running version 5.005.
(Want to validate the html in this page?)

Managed Hosting Services provided by
Managed Dedicated Hosting