A Framework Based on MVC of Document Processing
Xia Hou, Ning Li, Ying Ai Tian, Hongbo Yang · 2009
To avoid the problems of high complexity and low flexibility in document processing softwares, especially office softwares, Model-view-controller (MVC) framework is introduced into document processing to divide model, view and controller, which can improve the software's reusability and flexibility, and reduce the software's relativity to platform. A framework based on MVC is proposed to process documents by making use of XForms technology. In the framework, to reduce the software's complexity and improve its flexibility further, a document is decomposed to some edited objects and every object is processed by XForms technology separately. At last, the whole document is obtained by integrating the results of all edited objects in the document. A prototype system is implemented to illustrate the proposed framework and process, in which word processing documents are edited and displayed on Web.