wiki:PLUGIN_DECOMPOSITION_R1

Version 3 (modified by peko, 17 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Analysis

Overview

Decomposition to plug-ins of Sophie 2 is one of the most important things to do for the project. There should be more modules decomposed from the current base modules. Keep in mind that modules, plug-ins and bundles are the same thing in our case.

Task requirements

Plug-ins should:

  • be divided into more plug-ins
  • be switchable
  • use actual extensions and extension points (now this is done in base.dialogs and core.modularity)

Task result

  • new project structure
  • the project must run

Implementation idea

  • use the related tasks for help

PLUGIN_DECOMPOSITION_R0

PLUGIN_MODULE_STRUCTURE_R0

PLUGIN_EDITIONS_STRUCTURE_R0

PLUGIN_EDITIONS_STRUCTURE_R1

How to demo

Show the project with the new plug-ins.

Design

  • There are two new modules extracted as maven projects.
    • org.sophie2.main.model
    • org.sophie2.main.view
  • The org.sophie2.main.model module contains the model part of Sophie2's MVC.
  • The org.sophie2.main.view module contains the view part of Sophie2's MVC.

Implementation

  • Done according to the Design.

Testing

Comments

Log

Error: Macro Include(PLUGIN_DECOMPOSITION_R1_LOG) failed
current transaction is aborted, commands ignored until end of transaction block