Hi Asiri,

You are perfectly right that we have a coherence problem with these 
virtual views.

Maybe one way to solve it would be to show the last 20 pages directly in 
the Space view. This way if you create a new page it will show up in the 
space view refresh.

We are kind of stuck between a view system that is not perfect (the A, 
B, C, D) and one that will cause performance issue (normal flat view).

I think users will have to live with the caveats of the A, B, C, D system.

So I propose to implement A, B, C, D + the last 20 recent pages.

Maybe Guillaume can give his point of view ?

WDYT ?

Ludovic

Asiri Rathnayake wrote:
> Hi Ludovic,
>
> I've been thinking of implementing A,B,C,D view for spaces but i came 
> across few obstacles.
>
> Currently we have SpacesView->Space->Page kind of a hierarchy and 
> there, both Space & Page are domain objects. But if we change the 
> hierarchy to categorize pages by first letter, the situation changes a 
> bit.
>
> Then the hierarchy would be like, 
> SpacesView->Space->PagesByFirstLetter->Page. Here the Space is no 
> longer a domain object but kind of a view and adding pages to it poses 
> problems. I mean if we add a page to an space, we would have to move 
> it immediately to the correct category (by first letter). And this is 
> not that good.
>
> One solution is to restrict the user's ability to add pages / spaces 
> (these are what complicates the issues). But this might not look that 
> pretty.
>
> I have the following hierarchy in my mind but i'm not quite sure about 
> it :
>
> XWikiDocumentsDavView->XWikiDocumentBySpaceNameDavView->XWikiDocumentsByFirstLettersDavView->XWikiDavPage
>
> This way it looks pretty much alike attachments view. But again, 
> adding pages to a space seems to pose the same problem.
>
> I think these problems are mainly due to the fact that XWiki domain 
> does not directly map into a directory hierarchy.
>
> Please let me know how should i proceed.
>
> Thanks.
>
> - Asiri


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to