Pergunta

I recently developed a search which will gather prices from three online shops and compare them to provide the user with the best choice available to them.Its been hosted here

However, I want it to make as suggestive as the search on Flipkart

So, i wanna know, how can they come up with the options as soon as you type. Do, they store the data in some XML file or do they make call to database.

I just wish to know the efficient way to do this, given i have list of items.

Thanks :)

Foi útil?

Solução

i guess in the front-end of the Flipkart's site ,they may use a jquery plugins to show the suggestions (such as jquery.autocomplete);in the server side, you can store the data in the cache, and transfer them to the front-end as JSON format

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top