Changes between Version 2 and Version 3 of GROUP_TEMPLATES_R2
- Timestamp:
- 07/08/09 15:59:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_TEMPLATES_R2
v2 v3 6 6 7 7 = Analysis = 8 ^(Give as much as possible of the needed information for designing and implementing the task in the following sections.)^9 8 10 9 == Overview == 11 ^(Provide a brief overview of the whole task in its first revision. Stick to the current revision of the task, but keep an eye to the whole task progress, and stay alert for possible smells.)^ 10 * Templates and resources are not independent, so they should be somewhat integrated to each other. 11 * Book templates should behave in such a way that when it is edited, the created book should reflect the changes. 12 12 13 13 == Task requirements == 14 ^(List the necessary requirements that the task must fulfill.)^ 14 * The goal of this revision is to integrate templates with resources. 15 * Book templates should also be refactored. 15 16 16 17 == Task result == 17 ^(List the end product of the task (for example "Source code", "Wiki page", etc.))^ 18 * The result of this task should be source code. 18 19 19 20 == Implementation idea == 20 ^(Provide some rough implementation idea(s).)^ 21 * Consider adding a property template() to the Resource class. Thus, each resource can have a template which is a ResourceRef. 22 * Non-resource classes can calculate the value of their properties through the parent() property, if it is a resource, or through the parent's parent, and so on. 23 * Creating a book from a book template can be described like this: for each page in the template, create a page that has the original page as a template. 21 24 22 25 == Related == 23 ^(Add links to related tasks that could be useful or helpful.)^ 26 * book model: [source:/trunk/sophie2-platform/modules/org.sophie2.base.model.book] 27 * [wiki:GROUP_TEMPLATES_R0] 28 * [wiki:GROUP_TEMPLATES_R1] 24 29 25 30 == How to demo == 26 ^(Provide instructions for demonstration of the task.)^ 31 * Start Sophie2. 32 * Create a book from a book template. 33 * Open and edit the template. 34 * Show that the new book also changed. 27 35 28 36 = Design =