On Sep 4, 9:26 pm, "maps.huge.info [Maps API Guru]" <[EMAIL PROTECTED]> wrote: > The bottom line is if you use a proxy, you need two round trips to > accomplish what can be done in a single round trip using JSON > correctly. The two round trips using a proxy are: > > 1. A page originally called from your server asks a proxy script on > your server for something needed from geonames.org and waits for the > answer. > 2. The proxy script on your server requests that something from > geonames.org and waits for the answer. > 3. Geonames.org answers your server's proxy script request. > 4. Your server's proxy script sends the answer to the calling page. > > This is very slow and ponderous, and also extremely wasteful of both > resources and your users time. I suggest you look into using the JSON > request correctly, it's very simple and easy to use, just search the > forum here for this topic and you'll find at least a dozen answers. > > -John Coryat > > http://maps.huge.info > > http://www.usnaviguide.com
Also, JSON does not require parsing like XML because it is JAVASCRIPT. The browser's own JavaScript interpreter parses it automatically & efficiently. JSON is executable JavaScript code. XML is a text file with a lot of redundant tags. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
