[OpenLayers-Dev] script protocol for cross origin requests

Volker Mische volker.mische at gmail.com
Tue Mar 8 14:42:49 EST 2011


On 03/08/2011 11:09 AM, christopher.schmidt at nokia.com wrote:
> 
> On Mar 8, 2011, at 2:00 PM, ext Volker Mische wrote:
> 
>> On 03/08/2011 09:24 AM, Eric Lemoine wrote:
>>> On Tuesday, March 8, 2011, Tim Schaub <tschaub at opengeo.org> wrote:
>>>> Hey-
>>>>
>>>> Following what I think was our agreement about the default filter serialization for the HTTP protocol needing a more general name (than MapFishFilterSerializer), I committed a SimpleFilterSerializer script.
>>>
>>>
>>> When we discussed this initially I suggested to write a Format instead
>>> of introducing a new type (Serializer). Did that just make no sense to
>>> you?
>>>
>>
>> I don't understand how this could be a format. Aren't formats for
>> rendering stuff that comes back from the server?
> 
> Not really. Formats convert from strings to internal OL objects and back
> again -- so for example, the OGC Filter read/write implementation (or CQL
> filters), even when the filters are used internally to OpenLayers, are
> done via formats.
> 
> -- Chris

Thanks for the info. Then it sounds like filters should really be formats.

Cheers,
  Volker


More information about the Dev mailing list