Re: Re: Event handling question
Re: Re: Event handling question
- Subject: Re: Re: Event handling question
- From: "Richard L. Peskin" <email@hidden>
- Date: Sat, 5 Apr 2003 00:03:15 -0500
On Friday, April 4, 2003, at 08:20 PM, Art Isbell wrote:
> This graphically demonstrates why methods bound to dynamic elements
> should not implement a lot of processing; these methods are invoked
> repeatedly during the request-response cycle. It may sometimes be
> better to bind dynamic elements to component instance variables rather
> than to methods or to cache the return values of bound methods in
> component instance variables. Of course, each instance variable adds
> to the memory footprint of a WO app, so the classic time vs. space
> tradeoffs remain.
>
It appears that what the Apple doc calls "derived properties" (using a
method rather than an instance variable) may be problematic. When I do
this example with simple instance variables I do get correct behavior.
--dick peskin
Richard L. Peskin, RLP Consulting, Londonderry, VT
http://www.rlpcon.com
http://www.caip.rutgers.edu/~peskin
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.