Summary
In this chapter, we have introduced the Bean into our ColdFusion object-oriented programming design pattern, and have understood that a Bean is a blueprint of an object, which we can create and populate at any time, and that this object represents a single record of data, or a specific entity.
By following the conventions in this chapter to create your ColdFusion Beans, using the get/set methods to access and populate your Bean's properties does require a little more typing to write the functions for each property.
However, this time will be well-spent when the application grows and becomes more complex. The benefits of writing your code with an object-oriented approach will soon become apparent, and they will strengthen when we introduce a framework to handle our code and objects for us, which we will cover later in this book.
Other topics we have covered in this chapter are:
The benefit of using Beans
Accessor/Getter methods
Mutator/Setter methods
Building and populating a Bean
Implicit...