• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re: Event handling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: WO 5.1 vs 5.2 & cheapest DB
  • Next by Date: Re: [newbie] General question about WO/Java Client
  • Previous by thread: Re: Event handling question
  • Next by thread: PB after WO 5.2.1
  • Index(es):
    • Date
    • Thread