Asiri Rathnayake wrote:
Hi devs,
I have completed implementing office importer document splitting
functionality and I would like to commit this code in trunk. However the
functionality of splitting a xwiki document into many sub documents does not
belong to the officeimporter module. Rather it belongs to the more generic
topic of refactoring existing wiki documents.
There for, I propose to introduce a new core module: xwiki-core-refactoring
and include the document splitting code into this module rather than having
splitting code within the officeimporter code base. This will allow us to
extend the refactoring module in future to include following possibilities:
- Split an exiting document into multiple documents (first refactoring)
- Merge documents to form a single document
- Rename documents
- Rename attachments
- Replace words
- More...
Here's my +1 for introducing the xwiki-core-refactoring module and comitting
document splitting code in it.
+1
How exactly will this module be organized? I guess that a generic
interface with several implementations would be fine. This forces us to
keep refactorings specific, and keeps things pretty clear and modular.
Asiri, can you start a design thread?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/