i Know Kung Foo Consulting

Converting my OOP with ColdFusion series into a book.

I've had a lot of feedback on both the OOP and Mach-II series via e-mail, through comments and in person. Many people have said they've been trying to learn these concepts that "all the blogs talk about", that there aren't many resources out there and that my series has been easy to understand. Hopefully, and with some help, I can write a book that's easy to understand as well.

[More]

Object Oriented ColdFusion : 7.3 : An Intermediate Data Access Object (DAO)

We recently* discussed how use a DAO to map a single record from a single database table to a Bean Object under a one to many relationship. Now we need to discuss how to use a DAO to populate a Bean with data from multiple tables under a many to many relationship.

[More]

Yo, Adrian! Instead of having multiple cfc's, can one have just 1 cfc?

A reader of my OOCF Primer asks: "Instead of having multiple cfc's can one have just 1 cfc?" The answer is: it depends.

[More]

Mach-II Primer : 6.2 : Processing Data with Beans and DAOs using Event Filters

We've seen how to convert data list and data detail pages from procedural code to Mach-II events. Now we need to refactor how we build form and action pages.

[More]

Mach-II Primer : 6.1 : Getting the details with Beans and DAOs

We last discussed how to manage recordsets with Mach-II. Now it's (finally) time to discuss how to work with individual records using Beans and Data Access Objects (DAOs).

[More]

Object Oriented Coldfusion : 7.2 : Basic DAO Example

Ok, so we've got the concept of a DAO and how it interacts with a bean. Here's an example of a form and an action page using Object Oriented Coldfusion.

[More]

Object Oriented Coldfusion : 7.1 : A Basic Data Access Object (DAO)

As discussed part 6, a bean encapsulates a single record of data and that data doesn't necessarily have to come from a single database table. But in this example, it does.

[More]

OOP links

Thanks to a pair of Charlies and once again to the Coldfusion Weekly Podcast. Links after the jump.

[More]

Object Oriented Coldfusion : 6 : The Bean Object

Now that we can easily retrieve and display record sets using the Gateway Object, it's time to work with a specific record. Using a Bean to manage the properties of a single data record we can maintain strict control over a record as it is used throughout one or more applications.

[More]

Object Oriented Coldfusion : 5 : The Gateway Object

One of the biggest reasons to move towards using OO concepts with Coldfusion is to build modular, extendable code libraries which are very easy to reuse throughout an application or group of applications. As a start, we'll begin by moving queries that generally return multiple records into Gateway objects.

[More]

More Entries

Copyright © 2001 - 2008 Adrian J. Moreno and i Know Kung Foo Consulting
BlogCFC was created by Raymond Camden. This blog is running version 5.9.001.