• 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: Need advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need advice


  • Subject: Re: Need advice
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 15 Sep 2008 09:48:22 -0700

Hi Frank,

On Sep 14, 2008, at 9:02 AM, Frank Stock wrote:

Hi All,


I am moving an application from FileMaker to WebObjects/Wonder.
Everything works very well but the are used to 'find' everthing, so they can do a search on every field.


Can I use my objects to build a query, for instance if I have an object Movie, can I build a query from that object.
Or is it better to use D2W? I did a test but I can't find a good explanation about that.


Any advice about that?


My first suggest (impractical as it is) is to convince them that they don't need or want to search _everything_. You can try to focus them on thinking about what they will actually use.

You could use the model to generate the query, but that is going to be slow if you have any significant amount of data. Another option is to Lucene to create an indexable form of each object. That will make everything searches fast. I think ERIndexing is what you want. I have never used it.

http://webobjects.mdimension.com/wonder/api/er/indexing/package-summary.html

Chuck

--
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: 
 >Need advice (From: Frank Stock <email@hidden>)

  • Prev by Date: Re: ERXEC.newEditingContext() instead of the defaultEditingContext()
  • Next by Date: Re: ERXEC.newEditingContext() instead of the defaultEditingContext()
  • Previous by thread: Need advice
  • Next by thread: Re: Need advice
  • Index(es):
    • Date
    • Thread