> Why wouldn't you just create a structure with that 
> information in it? I don't understand why you would create a 
> CFC for the user information. Can you explain in more detail.

CFCs allow you to create variables that are objects - that contain both data
and code, and can manipulate their own data through the code they contain.
This allows what many people consider a more intuitive way to write
applications. For example, in a shopping cart application, you could store
the cart data as simply data within a variable, or you could have a cart
object that contains the data, but also contains methods to calculate
totals, add and remove items, and so on. This allows you to more easily
separate various kinds of logic within your programs in useful ways.

The best way to answer your question would really be to advise you to read
about object-oriented programming, I think.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225136
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to