Title: Message
So,
 
I have been watching the chat on the various lists about cfc's. I agree that using the private scope seems to make sense. I guess you just have getters and setters for all variables.
 
Question: I was just wondering how you go about using encapsulation in this case. I have implimented code using Hal Helms book (Cold Fusion MX Components) and I have addressed encapsulated objects thus
 
object.encapsulatedObject.function()
 
How do you achieve this when using private vairables from a page?
 

Cabbage Tree Creative Ltd.
Paul Johnson 
web programmer
Phone    +64 3 377 7544
Email     [EMAIL PROTECTED]
Web      www.cabbagetree.co.nz

manage your own web site with Thrive - contact us to learn how!

 

Reply via email to