[Graphics] OSGeo Graphics and a common naming convention

Robert Szczepanek robert at szczepanek.pl
Thu Nov 12 17:09:07 EST 2009


Rolando Peñate pisze:
> On Nov 9, 2009, at 10:16 AM, Jorge Gaspar Sanz Salinas wrote:
> 
>> Well, one of the main "topics" of our aims is to follow the Tango[1]
>> naming conventions. Following a more standard naming convention has
>> many advantages like the possibility to produce more than one icon set
>> to the software or more interesting, sharing the icon sets between
>> projects.
>>
>> So, in my opinion, one of the first things for gvSIG (and maybe this
>> list) would be to define a common naming convention, following the
>> tango guidelines (like many other projects are doing: i.e. GIMP and
>> OpenOffice) and offer them to the freedesktop project. I want to
>> remark that at Tango, besides the base library[2] there's also a
>> library for graphic software[3]. Robert has defined their icons on
>> that way and it's a perfect starting point to work, isn't it?
>>
>> [1] http://tango.freedesktop.org
>> [2] http://tango.freedesktop.org/Tango_Icon_Library
>> [3] http://tango.freedesktop.org/ArtLibreSet
>>
>> -- 
>> Jorge Gaspar Sanz Salinas
>> Ingeniero en Geodesia y Cartografía
>> http://wiki.osgeo.org/wiki/Jorge_Sanz
> 
> Common file naming conventions came up on the "GeoSilk icons" thread as
> well. Although I am not sure we reached consensus, the general sentiment
> seems to be that we all have different needs around naming. Jody needs
> to follow specific conventions for Eclipse and, because GeoSilk contains
> over a thousand icons from Silk, it's important for us to follow Silk
> naming rules to make it possible to find things.
> 
> I suspect developers/designers will pick the set that best suits their
> needs and work around it. As Jody pointed out though, anyone can use svn
> "externals" to link to a file and give it a different name, so there is
> a technical solution for this problem.
> 
> -- 
> Rolando Peñate
> Design Lead
> OpenGeo - http://opengeo.org <http://opengeo.org/>
> ------------------------------------------------------------------------
> _______________________________________________
> Graphics mailing list
> Graphics at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/graphics

Jorge's point of view is very close to mine. Analysing Rolando's
arguments I found that there are two general methods 'how to name an
symbol'. Sometimes there is mixture of them.

1. Glue model
Combining existing symbol we create new ones.
server + map = server_map [1]

+ we know what is on the picture
+ easy to find by keywords
+ better as first step (warehouse)

2. Semantic model
server + map = wms [2]

+ we know meaning of symbol
+ easy to find by context
+ better for implementation (target well defined)

There are constrains related to programming environment and size of
mature projects. In this case "svn externals" can be better solution. So
the question is rather which model (glue or semantic) we select and what
further detailed convention will follow.

My opinion.
Semantic model is easier to implement and more unambiguous.
Tango naming model is not specific software related and this is big
advantage compared to Eclipse. Both are well documented.

Robert

----
[1] http://projects.opengeo.org/common/geosilk/trunk/geosilk/server_map.png
[2]
http://udig.refractions.net/confluence/download/attachments/77/wms_obj.gif


More information about the Graphics mailing list