[OpenLayers-Dev] vector behavior

Eric Lemoine eric.c2c at gmail.com
Tue Apr 15 05:07:47 EDT 2008


On Tue, Apr 15, 2008 at 1:46 AM, Tim Schaub <tschaub at openplans.org> wrote:
> Hey-
>
>  Some may have already seen the proposal for new vector layer behavior.
>  http://trac.openlayers.org/wiki/Proposal/VectorBehavior
>
>  This week, I'll be working on implementing a bit of this new design.
>  I'm focussed on an AtomPub protocol, an Atom format, and a somewhat
>  smartish BBOX strategy.

Great! I've also started working on these Protocol ideas. I even
created a elemoine/protocol sandbox for that. So I'm definitely very
interested in collaborating on this.

I went over your code and here are preliminary comments:

The protocol subclasses have a layer property. Is this a temporary
thing or do you think of leaving this as is? In my opinion, a protocol
should be independent of the layer. For example you may want to use a
protocol just to read features and do things with these features that
aren't related to a layer (e.g. stash these features in a grid). As I
understand it, the layer is used as a common object for accessing the
strategy and the format. Don't you think we could make things more
separate?

--
Eric



More information about the Dev mailing list