Skip to main content

What's an Object?

What started as a simple blog entry quickly became quite lengthy, so I'm posting what I hope will be the first in a series of introduction to object-oriented programming for ColdFusion programmers articles as a PDF.

Please feel free to comment, correct, scrutinize, and ask questions as needed!

Download this file


Thanks for writing this piece and I look forward to any future ones!

Ben Forta blogged this. that's how I found it.

Excelent Matt, While this was not new to me, this is the first time I gained a real understanding of it. You have a great way of explaining. Really looking forward to the future "follow ups".

Thanks everyone--appreciate the feedback!

I was looking for a OO explanation in a CF way... and this is it... (and like Trond... I'm really looking forward for more.) Thank you

Hi Matt, Good show on the article! I am looking forward to seeing this blog in Flex calling CFCs through Flash Remoting. :)

Thanks Mike--getting that up and running is definitely on the roadmap! The code's done, just have to find the time to clean it up a bit and get Flex installed on this server. I'm putting it on Tomcat so I'm sure I'll have some tales to tell going through that experience ...

I too would like to express my congratulatory remarks on a well written article. I am definetely looking forward to your next one, just don't wait too long to release it! :)

Great article, I look forward to more in the future. I have been trying to get my head aroung CFC's and OOP in general for some time. Your first article reienforce what I have picked up todate, and added some depth to what an Object is. What I look forward to hopefully in a future article is something along the lines of "OK, now you know what an object is, here is how you find them in the requirements for an application and get them to work together to acomplish said applications goals."

Thanks for all the nice feedback. Ian, what you're discussing, specifically OO design, is probably the hardest part of OOP. I'll definitely be addressing it, but a very, very firm foundation needs to be in place first, so it will come late in the series of articles I have planned. As a preview, the next article (no timing on it yet) will likely be along the lines of "OK, now I know what an object is ... how do I use one in the context of an application?" This will be really simple stuff but will help build a foundation so everyone can start seeing objects in their apps as Ian points out. It's fantastic to see so many CFers interested in this!

Nice job, Matt!

Great introductory article. I'm glad to see that you are not stuffing all your bean properties in to the "this" scope like I've seen so many other people do.

Matt, Thanks for writting this article!

Great article Matt! I know Im late to the table, but this has actually helped me see that I've been going about OOP all wrong. ;) Now I know how to start looking at it. I've always tied my DAO's and my BO's to my databases like there was some sort of magical mystical invisible binding between them (Procedural Programmer stuck in an OOP world). I now see how I should be looking at it and have found a new excitment for trying. :) Thanks again!


Popular posts from this blog

Installing and Configuring NextPVR as a Replacement for Windows Media Center

If you follow me on Google+ you'll know I had a recent rant about Windows Media Center, which after running fine for about a year suddenly decided as of January 29 it was done downloading the program guide and by extension was therefore done recording any TV shows.

I'll spare you more ranting and simply say that none of the suggestions I got (which I appreciate!) worked, and rather than spending more time figuring out why, I decided to try something different.

NextPVR is an awesome free (as in beer, not as in freedom unfortunately ...) PVR application for Windows that with a little bit of tweaking handily replaced Windows Media Center. It can even download guide data, which is apparently something WMC no longer feels like doing.

Background I wound up going down this road in a rather circuitous way. My initial goal for the weekend project was to get Raspbmc running on one of my Raspberry Pis. The latest version of XBMC has PVR functionality so I was anxious to try that out as a …

Running a Django Application on Windows Server 2012 with IIS

This is a first for me since under normal circumstances we run all our Django applications on Linux with Nginx, but we're in the process of developing an application for another department and due to the requirements around this project, we'll be handing the code off to them to deploy. They don't have any experience with Linux or web servers other than IIS, so I recently took up the challenge of figuring out how to run Django applications on Windows Server 2012 with IIS.

Based on the dated or complete lack of information around this I'm assuming it's not something that's very common in the wild, so I thought I'd share what I came up with in case others need to do this.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Assumptions and CaveatsThe operating system is Windows Server 2012 R2, 64-bit. If another variant of the operating system is being used, these instructions may not work properly.All of the soft…

Setting Up Django On a Raspberry Pi

This past weekend I finally got a chance to set up one of my two Raspberry Pis to use as a Django server so I thought I'd share the steps I went through both to save someone else attempting to do this some time as well as get any feedback in case there are different/better ways to do any of this.

I'm running this from my house (URL forthcoming once I get the real Django app finalized and put on the Raspberry Pi) using I don't cover that aspect of things in this post but I'm happy to write that up as well if people are interested.

General Comments and Assumptions

Using latest Raspbian “wheezy” distro as of 1/19/2013 (’lll be using Nginx ( as the web server/proxy and Gunicorn ( as the WSGI serverI used heavily as I was creating this, so many thanks to the author of that tutorial. If you’re looking for more details on …