By: Tom Muck on Monday, March 24, 2008
If you use ColdFusion you should be using ColdFusion Components (CFCs). One of the more perplexing parts of developing CFCs for the beginning ColdFusion developer is how to define variables and properties. The proper use of variables is important for memory consumption and data integrity. You don't want variables hanging around that aren't needed or accessed from areas that they should not be accessed from.
The first part of this series explained some of the differences between local and global variables as they apply to CFCs. This second part of the series will continue the discusion and show a simple CFC framework component. Part 3 will show a CFC that extends our base component.
The Mystery of CFC Variables and Properties Series:
The Mystery of CFC Variables and Properties - Part 1
The Mystery of CFC Variables and Properties - Part 2
The Mystery of CFC Variables and Properties - Part 3
The Mystery of CFC Variables and Properties - Part 4
Purchase this item
You can purchase this piece of content separately for $4.00
Community MX members get unlimited access to daily articles, tutorials, extensions and support. The most comprehensive resource for Macromedia designers and developers today. Take a tour of what we offer, and discover the benefits of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.