[OpenLayers-Dev] new WFS layer name

Stephen Woodbridge woodbri at swoodbridge.com
Mon Mar 12 22:24:27 EDT 2007


Christopher Schmidt wrote:
> On Mon, Mar 12, 2007 at 09:01:38PM -0500, Stephen Woodbridge wrote:
>> Christopher Schmidt wrote:
>>> So, we have a new vector-based wfs layer. We need to keep the old layer
>>> naming the same for backwards compatibility. How do we name the new
>>> vector-based WFS layer? 
>>>  Layer.WFS.Vector
>>>  Layer.VectorWFS
>>>  Layer.WFST
>>>  Layer.Vector.WFS
>>>
>>> ?
>>>
>>> There is a similar question once we implement a vector-based GeoRSS
>>> layer, if ever; This might lead towards a tendancy for Layer.Vector.WFS,
>>> Layer.Vector.GeoRSS, etc.
> 
>> I like the Layer.Vector.* designation. this is easily expandable as 
>> required.
> 
> Does it need to apply to layers which are unambiguous? (Layer.GML)
> 
> Regards,

At the risk of reversing my opinion, since we only have a few of these 
and it would probably be good if the variants are list side by side in a 
listing. I think something like:

Layer.WFS
Layer.WFSVector
Layer.WFS.Vector
Layer.WFS_V
Layer.WFST

Layer.GeoRSS
Layer.GeoRSSVector
Layer.GeoRSS.Vector
Layer.GeoRSS_V

would be better. I do not think we need to clutter the names space by 
adding Vector to the Unambiguous ones.

-Steve



More information about the Dev mailing list