Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Page updating real time on new request

    Hi All,

    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 ...

    Many Thanks
    Mike

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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..)

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    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.

    Downsides to client sides like javascript is that more and more ppl are now turning off javascript.

    You should do some reading here for more on javascript, ajax, and jquery.

  • Users who have thanked teedoff for this post:

    mikesa33 (10-20-2010)

  • #5
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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
    Many Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •