On Jun 23, 2008, at 12:47 PM, Thomas Mortagne wrote:
[snip]
>> * BTW this also raises the question as to whether we want to have a
>> representation for space and wiki or not and instead only use tags,
>> in
>> which case a document name is simply a String like "mypage". But then
>> it should be unique. So it could also be made of a list of identity
>> tags as in: "space=sp1,sp2:wiki:wiki1:language=fr:mypage". Or we
>> could
>> standardize it as "wiki1:sp1,sp2:fr:mypage" and have the
>> DocumentNameFactory transform it into tags. In that case the
>> DocumentName object would be a Map of tags + the document name
>> ("mypage"). I think we need to decide ASAP if we want to keep the
>> strict and hardcoded notion of Wiki>Space>Document>Object>Property or
>> instead go full tags since this changes completely the v2 interfaces
>> and code we're writing.
>
> I'm -1 for "only tags" as at least applications would benefit from a
> strong folder/spaces organization IMO.
I'm playing the devil's advocate here. I'd really like to have
Stephane Lauriere's input on this.
Look at WinFS for example. It's implemented as a flat structure with
only tags. This allows having different views easily. It's possible to
simulate a directory/folder-based system using a tagging system.
The solution in our case could be to offer standard tags such as
"space" and "wiki".
I also think it would be much simpler to use a strong notion of Wiki/
Space and have such objects but I don't want to dismiss any other
solution and I'd like that we have this discussion.
What do others think?
> There is also the question of real tree-like structure of the spaces
> as it is described in http://jira.xwiki.org/jira/browse/XWIKI-354
Yep, I have this one in mind.
Thanks
-Vincent
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs