Page 1 of 1
Search tool
Posted: Wed Feb 24, 2010 2:48 pm
by Minigo
Quand vous allez sur google, vous tapez votre recherche et les mots apparaissent sous la boite de texte PENDANT que vous tapez.
Est-ce que cette technique à un nom?
J'aimerais reproduire cette recherche dans un de mes sites....
Re: Search tool
Posted: Wed Feb 24, 2010 2:51 pm
by Ziglabeu
Google Hot Trends
Google Hot Trends is an addition to Google Trends which displays the top 20 hot searches (search-terms) of the past hour in the United States. For each of the search-terms, it provides a 24-hour search-volume graph as well as blog, news and web search results. Hot Trends has a history feature for those wishing to browse past hot searches. Hot Trends can be installed as an iGoogle Gadget. Hot Trends is also available as an hourly Atom web feed.
Re: Search tool
Posted: Wed Feb 24, 2010 2:52 pm
by Jeece
Autocomplete.
Re: Search tool
Posted: Wed Feb 24, 2010 2:54 pm
by Elladan
Jeece wrote:Autocomplete.
x2
Re: Search tool
Posted: Wed Feb 24, 2010 2:59 pm
by hyksos
pour le niveau technique, c'est en AJAX que tu fais ça, en javascript tu fait une requête a ton serveur PHP/ASP avec un objet XML, tu va recevoir la réponse dans le callback que tu va lui avoir fournit, la meilleur façon que j'ai trouvé pour transiter l'information c'est en XML. Si tu veux faire ça live pendant qu'il tape, le côté serveur devrais être le plus léger possible, donc pas de grosse requête SQL, sinon il va avoir un bon lag.
Je le fais sur mon site et ça marche très bien.