thanks for your insight. Well the idea is to make a small offline
"bank/ cash register"? (where you can create an invoice per client
each time he/she buys something.) So basically for my project i could
use the DB method but if i ever want to make it for a big client that
has > 1000 products and that productlist changes once a day or less,
than i think generating a list is more performant. BUT you have a good
point at the computerspecs, i did not take that in consideration !

No it is not the answer that i was looking for, but it still gave me
insight on an other topic so thanks for the advice and for taking the
time :) I will look into the url you posted first thing tomorrow !

On Jun 2, 8:10 pm, James <[email protected]> wrote:
> I don't mean to step on your idea, but I think the database method
> probably works better. Databases are usually highly optimized to do
> text-search and it should be fairly quick. By using the separate JSON
> file method, you're just placing all the processing work on the client-
> side, which might hinder their experience because it will be slower
> for them depending on their computer specs.
>
> Anyway, regardless of which method you're using, the jQuery
> Autocomplete 
> plug-in:http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
> might be of use for you.
>
> (Sorry, this post does not answer your question of searching in a JSON
> object.)

Reply via email to