Aaron Roberson wrote:
> 
> I am going to keep all of these threads, print them out, and go over
> them multiple times until I begin to grasp it all. I guess I won't be
> learning CFAJAX until I get CFC's down, which is proving to be quite a
> task and very lengthy process.

CFCs are wonderful!

If you want to see an example of using the this scope and an init() 
function within a CFC, look at the code in CFFM:

http://www.opensourcecf.com/cffm

In that case, I use an init() to set properties, which is good in the OO 
world (like a constructor in java), but I use the this scope instead of 
the variables scope, so I don't have to write getter and setter methods.

It is a violation of object oriented programming, but I really don't 
care in this case =)

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232679
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to