Re:Google's API is Back
by surya on Thursday April 10, 2008 @10:31AM
(#159903)
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?
[ Parent
| on HN ]
Initially 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.
All 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?"