• 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: Behaviour of objectsWithFetchSpecification()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behaviour of objectsWithFetchSpecification()


  • Subject: Re: Behaviour of objectsWithFetchSpecification()
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 22 Jan 2009 11:16:38 -0800


On Jan 22, 2009, at 7:52 AM, Ken Anderson wrote:

Nice... one day I'm going to have to get into this Wonder stuff... :)

Ken, Ken, Ken...

:-P

You can reap a lot of benefit from Wonder without eating all of the pudding. You can pull off the rubbery crust and just dig out the raisins if you want. As far as I can see ERXFetchSpecification does not require full Wonder user (though I did not look very closely). Much of Wonder is stand-alone and / or in static methods. Add ERExtensions and ERJars to your app and cherry pick some goodness*. You can even get really brave and add the Ajax framework.

Chuck

* The Surgeon General warns that Wonder usage can be habit forming and may increase your development speed.


On Jan 22, 2009, at 10:46 AM, Mike Schrag wrote:

I guess I'm just asking for a sanity check. This can't be an uncommon use case---what do people do next? Use EOQualifier.filteredArrayWithQualifier() on the result? Am I overlooking something basic?
You use ERXFetchSpecification and setIncludeEditingContextChanges(true). It will automagically process your results to remove deleted objects and add inserted objects that would have matched the qualifier you provided (with the expection of doing things like limits, etc where it wouldn't really know not to add objects).

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Behaviour of objectsWithFetchSpecification() (From: Paul Hoadley <email@hidden>)
 >Re: Behaviour of objectsWithFetchSpecification() (From: Mike Schrag <email@hidden>)
 >Re: Behaviour of objectsWithFetchSpecification() (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: last chance for stable
  • Next by Date: Re: last chance for stable
  • Previous by thread: Re: Behaviour of objectsWithFetchSpecification()
  • Next by thread: Re: Behaviour of objectsWithFetchSpecification()
  • Index(es):
    • Date
    • Thread