Changes between Version 8 and Version 9 of CORE_MVC_BASE_R0


Ignore:
Timestamp:
10/04/08 14:29:34 (17 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CORE_MVC_BASE_R0

    v8 v9  
    3030 
    3131= Design = 
    32 * Be sure you understand MVC and Singleton. Since these will be the patterns  used for the base design and implementation of the MVC. [[BR]] 
    33  * see http://en.wikipedia.org/wiki/Model-view-controller - MVC Pattern. [[BR]] 
    34  * see http://en.wikipedia.org/wiki/Singleton_pattern - Singleton Pattern. [[BR]] 
    35 * Model and View - represented by App, Book, Page, Frame, TextFrame, ImageFrame, MediaFrame, AppView, BookView, PageView, FrameView, ImageFrameView, TextFrameView and MediaFrameView. 
    36 * Logic - singleton (instantiated the first time it is called.) 
    37 * This is sensible because: 
    38  * We need to have multiple books with pages and frames as well as multiple views to display the model. 
    39  * We need to control the model by the view. This means that the Controller must have only functions implemented and called. It SHOULD NOT HAVE STATE. That is why singleton pattern will be used to implement it. 
    40 * View will be automatically updated on model change. 
    41 * View will commit data to model on user intervention by the corresponding logic. 
     32 * Be sure you understand MVC and Singleton. Since these will be the patterns  used for the base design and implementation of the MVC. [[BR]] 
     33  * see http://en.wikipedia.org/wiki/Model-view-controller - MVC Pattern. [[BR]] 
     34  * see http://en.wikipedia.org/wiki/Singleton_pattern - Singleton Pattern. [[BR]] 
     35 * Model and View - represented by App, Book, Page, Frame, TextFrame, ImageFrame, MediaFrame, AppView, BookView, PageView, FrameView, ImageFrameView, TextFrameView and MediaFrameView. 
     36 * Logic - singleton (instantiated the first time it is called.) 
     37 * This is sensible because: 
     38  * We need to have multiple books with pages and frames as well as multiple views to display the model. 
     39  * We need to control the model by the view. This means that the Controller must have only functions implemented and called. It SHOULD NOT HAVE STATE. That is why singleton pattern will be used to implement it. 
     40 * View will be automatically updated on model change. 
     41 * View will commit data to model on user intervention by the corresponding logic. 
    4242 
    4343