7 ms·
Thanks for sharing this... But isn't the AJAX Search API to be used from within the browser (client) rather than from a central server?
by surya 18y ago
Thanks for sharing this... But isn't the AJAX Search API to be used from within the browser (client) rather than from a central server?
- carlos 18y agoInitially yes, and it is intended to be use only for clients, although not only from javascript, i.e. as the guide says also from flash, etc. But nothing stops you from using it from the server too as it is technically possible, although I guess Google could stop responding requests coming always from same IP address, as would happen if you use your server instead of the client.
- pierrefar 18y agoAll very true. I would add that server-side parsing of JSON is very easy. I think they're hinting at something by calling it "and other non-JS environments". My first reaction to that was "you mean like PHP?"
- surya 18y agoYes, thats interesting... I wonder if they want to keep it quite (by making this info hard to find) or the developers of the API didn't think it through...