View Full Version : Page updating real time on new request
10-19-2010, 11:31 PM
It seems that Google is now handling queries real-time: It seems updating the results while a request is being typed in.
Do you know what technology on the back of that ??
I don't know how to do such.
The only way I know is sending a new Mysql request to a PHP page which I think is not the same technology used here ...
10-20-2010, 12:17 AM
If you mean that the google searchs change as you type in google search window, I would think ajax, jquery or something like that. Some type of client side language since serverside HAS to be processed on an application server.
10-20-2010, 12:29 AM
Thanks for your reply.
though I am not that familiar with Ajax or Jquery..
Do these language allow to the HTML to still "talk" to the server eventhough the HTML page has been fully loaded. It kind of keeps the ports open then ?
Is it the same process that we can see on Facebook when we scrolldown on the Wall ? (It then automatically loads up the older posts, without having to click anywhere..)
10-20-2010, 12:40 AM
Not sure about facebook. Once a page is requested by a user (you in this case and google.com for the page) then the page is no longer processed by the server. Once the page is open and you begin typing in the search field, client side scripts, in realtime, begin to manipulate the window WITHOUT resending a request to the server. Thats why its called client side language.
10-20-2010, 12:58 AM
I start to understand.
though, there is still something I dont catch:
Even if lot of work (layout, ...) is done on the client side, there is still data pushed by the server to the client all the time the page is live (alongside what is typed in the query field..)
I guess all the information is not passed on onto the client first place.
Actually I think i need to study the languages you mention to see clearer.
I will follow the link you provided and study all the thing a bit
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.