wiki:CORE_MVC_BASE_R0

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

--

Analysis

Overview

  • The Model-View-Controller(MVC) pattern will be used in the development process of Sophie 2. All the necessary rules about MVC in the development process should be defined.

Task requirements

  • The document should provide:
    • General rules about MVC.
    • List of the base classes needed.(class diagrams can be made)
    • Docs and tutorials about implementing MVC (especially in Sophie 2).
    • Rules to check whether the code complies to the pattern.

Task Result

  • The result of this task should be a wiki page where all of the rules are written.

Implementation idea

-

How to demo

  • Open the wiki page where the rules are written (it can be called "CORE_MVC_BASE" for example).
  • Look if all of the analysis points are took into consideration.
  • Make sure that nothing important is dropped.

Design

MVC is based upon the MVC pattern. Our Model consists of Apps with Books with Pages with Frames. Frames have variation like TextFrames, ImageFrames and MediaFrames. Out View is the AppView, BookView, PageView and FrameView. FrameViews are devided in three - TextFrameView, ImageFrameView, MediaFrameView The Controller part is represented by the Logics. We have AppLogic, BookLogic, PageLogic and FrameLogic. While one can create instances of the model and view (Books, Pages, Frames, AppViews, BookViews, PageViews etc.),

Implementation

Testing

Log

  • Analyzing : Pap - done(30 min)
    • Refactor : Tanya - 40 min
  • Designing : Peko 1.5 h
  • Implementing : Peko 1.5h
  • Testing :
  • FAILED