Hi.

In this thread, I want to propose you the tiniest API that we need to
handle multiwiki. All other features (users, templates, workspaces...) will
be on other modules, because I think it is better for the extensibility.

The new module will be based on the xwiki-platform-wiki-descriptor-api
module, that I will rename to xwiki-platform-wiki-api. The
WikiDescriptorManager becomes WikiManager and handle both descriptors and
databases.

This API will permit:
* to create a wiki
* to remove a wiki
* to list all wikis (returning a list of descriptors)
* ...

You can see the code of that proposal there:
https://github.com/gdelhumeau/xwiki-platform/tree/new-wiki-api/xwiki-platform-core/xwiki-platform-wiki

The most important is to decide what the API must look like. The
implementation can still be modified afterwards.

I hope you like it,

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

Reply via email to