[OpenLayers-Dev] OpenLayers Ajax in trunk
tschaub at openplans.org
Mon Feb 25 19:03:15 EST 2008
One other thought...
Tim Schaub wrote:
>> Proxying is a non-issue for me right now, but I wonder if OL really
>> needs to know that it is making a proxy request. Couldn't it be transparent?
If you have OpenLayers.ProxyHost set, you get "transparent" proxying.
If you want to issue a request via a different proxy, you can set the
proxy config property.
Don't know if this is more or less confusing. Perhaps it will never
happen (that a user would want to use something other than
OpenLayers.ProxyHost as a proxy), but it's easy to support so I thought
I'd add it in.
> Right now, a user can specify their proxy independent of their layer URL
> (OpenLayers.ProxyHost and layer.url).
> This makes it handy to share the configuration for a WFS layer (or any
> other with data requested via XMLHttpRequest) in an example. The path
> to a user's proxy may differ, but the URL for the layer remains the same.
> It also makes it easy to demo an application in one place and put it in
> to production in another - changing your OpenLayers.ProxyHost but not
> changing the layer config (or moving any data around).
>> Can we shout RFC 2616 at developers and have methods like Request.GET,
>> POST, PUT, DELETE?
> Sounds good to me - particularly because "delete" is a reserved word in
> identifier (I think "get" may be reserved in the future as well).
> I like that better.
> Thanks for the feedback.
>> Dev mailing list
>> Dev at openlayers.org
> Dev mailing list
> Dev at openlayers.org
More information about the Dev