No. Properties in THIS can be overwritten from outside the component
with no checks or business logic - getter and setter methods prevent
this from happening.

On 5/30/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> In Forta's model layer cfc (ArticleEntity.cfc) he creates a struct
> named instance. Wouldn't it be better to call the psuedo-constructor
> function and then just reference all of the values with the "this"
> keyword? In that case, would I still use the <cfproperty /> tages in
> the constructor area? I am new to OOP, so please bear with me as I try
> to connect all of the "dots".

-- 
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241717
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