[OpenLayers-Users] OpenLayers Coding Standards

Christopher Schmidt crschmidt at metacarta.com
Mon Feb 2 11:53:25 EST 2009


On Mon, Feb 02, 2009 at 09:04:26AM -0700, Tim Schaub wrote:
> Hey-
> 
> Bill Thoen wrote:
> > In the OpenLayers wiki on page 
> > http://trac.openlayers.org/wiki/CodingStandards  it says, "OpenLayers 
> > uses the JSAN standard for laying out source files...." Is there a 
> > reference URL for this standard? I'd like to learn more about it.
> > 
> 
> I'm guessing this came from Schuyler, or someone else with a history of 
> CPAN use.
> 
> http://openjsan.org
> 
> In terms of docs describing "module" layout, I don't know of any good 
> ones.  A quick search turns up:
> http://www.davidflanagan.com/2005/07/javascript-module-conventions.html

http://openjsan.org/documentation/dists.html seems reasonably
descriptive of what we were aiming for. I don't think it was
CPAN-related: instead, it was beacuse Test.AnotherWay said that it was a
JSAN module, so we followed that convention: 

 http://www.openjsan.org/doc/a/ar/artemkhodush/Test/AnotherWay/0.52/index.html

In general, I don't think the "JSAN" convention is that strong, or
important. Instead, we just try to name files like the classes they
contain.


Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list