Changes between Version 1 and Version 2 of BASE_MODEL_TEMPLATING_R0


Ignore:
Timestamp:
01/29/09 14:26:58 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_MODEL_TEMPLATING_R0

    v1 v2  
    55 
    66== Overview == 
     7 This task is about all the common things of templates and templating. Generally we have templates for books, pages and frames and the model should be able to manage them. 
    78    
    89== Task requirements == 
     10 * Common things about templates should be extracted in a class hierarchy. 
     11  * This includes base classes. 
     12  * Helper classes. 
     13  * Storage of templates. 
     14  * Template resources. 
     15 * A mechanism for template manipulation should be designed: 
     16  * creating templates. 
     17  * deleting templates. 
     18  * loading templates. 
     19  * storing templates. 
     20  * changing templates. 
     21  * Consider creating a !TemplateManager if needed. This is somethings that is analogous to the !BookResourceManager but is quite different on the other hand: 
     22   * It is global and is defined for every App (not Book as is the !BookResourceManager). 
     23   * It should be able to manage all kinds of templates. 
     24 * Provide diagrams of the class hierarchy and utilities to manage templates. 
     25 * Since this is a one day effort task, a thorough design with diagrams should be enough to start with. 
     26 * If there is time left, implement what has been decided and write unit tests. 
    927 
    1028== Task result ==  
     29 * wiki content. 
     30 * diagrams. 
     31 * (source code with integration tests if there is time to do it.) 
    1132 
    1233== Implementation idea == 
     34 * Review the related tasks. 
     35 * Design the way templates are going to be managed by the model. 
     36 * Create diagrams and give explanations of the things that are decided. 
     37 * (Implement and test if there is time left.) 
    1338 
    1439== Related == 
     40 * [wiki:BOOK_TEMPLATES_BEHAVIOUR_R0] 
     41 * [wiki:BOOK_TEMPLATES_LISTING_R0] 
     42 * [wiki:PAGE_TEMPLATE_BEHAVIOUR_R0] 
     43 * [wiki:PAGE_TEMPLATES_LISTING_R0] 
     44 * [wiki:FRAME_TEMPLATES_R0] 
    1545 
    1646== How to demo == 
     47 * Show the wiki and explain in general the idea. 
     48 * (run unit tests if such have resulted). 
    1749 
    1850= Design =