So in 2.0 we've got this new concept of 'workspaces' that are a bit transitional.
Before 2.0 the only way to group featureTypes was with namespaces.
In 2.1 we should have a full resource publishing split, with a strong concept of workspaces as collections of layers. Each workspace should have its own capabilities document, its own set of permissions, etc.
In 2.0 we basically just decided that 'namespaces' (particularly namespace prefixes) are equivalent to 'workspaces'. I think this is trying to squeeze too many concepts in to one. We generally want namespace prefixes to be pretty short, ideally 3-4 characters. But we have no good way of hinting to people that they should probably use shorter names for their workspaces.
What I'd like to propose is that a 'workspace' consist of three things:
* A title
* A short name
* A URI
The title is used in the UI, and also in capabilities reporting on service information.
The short name is used for the namespace prefix, and in the url, like in the rest API.
The URI is for the namespace, what the prefix points to. If people don't fill it out we'll default it to like http://geoserver.org/shortname or something.
The short name will have a character limit (I'd say 5 or 6), and if the title is not filled out then short name will just be used.
What do people think? I'm not saying we need to get it in 2.0.x, but it's worth thinking about.
I bring it up because I think we're trying to squeeze too much in to the 'workspace'.
--
Chris Holmes
OpenGeo - http://opengeo.org
Expert service straight from the developers.