What I do is have individual set method/functions for each field then one
method/function that updates the table using all those variables.  So I'd
have something like Variables.Instance["UserName"] and a SetUserName() and
then something like UpdateUser() which updates using the Instance structure
of values.  But I really do not see my way of doing things as OOP.

On 3/7/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> Mike...
>
> Care to share one small code example? How are you initializing this User
> bean? Do you just pass it an id? How are you storing the values inside the
> user bean? Do you really have individual UPDATE queries just to set each
> field value?
>
> It sounds really awesome, but I'm not clear one some of those things.
>
> <!----------------//------
> andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --------------//--------->
>
>


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