O'Reilly logo

Object-Oriented Programming in ColdFusion by Matt Gifford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Building Your First Bean

Following the code and examples included in the previous two chapters, we now have a fairly good understanding of what a ColdFusion component is, how to write one, how to create an object, and how to use the methods included within the CFC.

Object-oriented programming is a form of programming paradigm that utilizes "objects", structures of data that consist of data fields and methods, and the object interactions for development.

Focusing on data rather than processes, the OOP methodology uses self-sufficient modules (the objects), which contain all the information they require to manipulate their own data structure.

In this chapter, we will look at the first ColdFusion component within the OOP design pattern, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required