Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
  Print Thread
Standard User Sandgrounder
(knowledge is power) Tue 23-Nov-10 00:11:15
Print Post

Google - how do they do that?


[link to this post]
 
Not the search queries.

But the way the web page updates, when you type a key?



Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User deleted
(deleted) Tue 23-Nov-10 01:44:46
Print Post

Re: Google - how do they do that?


[re: Sandgrounder] [link to this post]
 
Do you mean the search suggestions?

It uses a technique called AJAX.

There's some Javascript in the web page. When you type a key this triggers an event and the browser "posts" to the server in the background.

Then the auto-suggestion list is retrieved based on what you typed in so far, and the screen is updated dynamically without the need to reload the entire page.
Standard User Ansolan
(newbie) Tue 23-Nov-10 02:48:11
Print Post

Re: Google - how do they do that?


[re: Sandgrounder] [link to this post]
 
If you happen to mean Instant Search, this may help:

Google Blog

You can by the way turn the facility offsmile


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Tue 23-Nov-10 08:38:31
Print Post

Re: Google - how do they do that?


[re: Ansolan] [link to this post]
 
I do shudder to think how much money they have ploughed into their infrastructure to support it - we count our visits in millions per week and it makes us wince to think about it
Standard User Sandgrounder
(knowledge is power) Tue 23-Nov-10 17:45:35
Print Post

Re: Google - how do they do that?


[re: deleted] [link to this post]
 
In reply to a post by MarkHampshire:
and the screen is updated dynamically without the need to reload the entire page.
Is that part of AJAX?



Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User SamsonUK
(knowledge is power) Tue 23-Nov-10 21:55:41
Print Post

Re: Google - how do they do that?


[re: Sandgrounder] [link to this post]
 
AJAX is a method of using live data rather than a specific language set.

A PHP/JavaScript example can be found here

You can use any combo of languages to get the desired effect, PHP/JavaScript being the most popular.
Standard User Sandgrounder
(knowledge is power) Tue 23-Nov-10 22:55:18
Print Post

Re: Google - how do they do that?


[re: SamsonUK] [link to this post]
 
OK - Thanks.

I have the idea of how it works now. smile

Just noticed - The google app only works on Firefox - and not on IE.



Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
Standard User deleted
(deleted) Thu 25-Nov-10 16:28:37
Print Post

Re: Google - how do they do that?


[re: Sandgrounder] [link to this post]
 
Google Instant may not work properly, if you have a slower Internet connection.
But it works perfectly on average broadband connections.
Standard User Sandgrounder
(knowledge is power) Sun 28-Nov-10 10:57:50
Print Post

Re: Google - how do they do that?


[re: deleted] [link to this post]
 
I think they now turn it off on slow connections.



Line One:- Zen - DrayTek Vigor 2600VG
Line Two:- EntaNet - DrayTek Vigor 2600
  Print Thread

Jump to