Changes between Version 1 and Version 2 of BASE_MODEL_TEMPLATING_R0
- Timestamp:
- 01/29/09 14:26:58 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BASE_MODEL_TEMPLATING_R0
v1 v2 5 5 6 6 == 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. 7 8 8 9 == 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. 9 27 10 28 == Task result == 29 * wiki content. 30 * diagrams. 31 * (source code with integration tests if there is time to do it.) 11 32 12 33 == 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.) 13 38 14 39 == 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] 15 45 16 46 == How to demo == 47 * Show the wiki and explain in general the idea. 48 * (run unit tests if such have resulted). 17 49 18 50 = Design =