wiki:BASE_MODEL_TEMPLATING_R0
Last modified 6 years ago Last modified on 01/29/2009 02:26:58 PM

Pages linking to BASE_MODEL_TEMPLATING_R0:
TASK_INDEX

Ticket Summary Owner Status Type Component Priority Effort Importance
#289 BASE_MODEL_TEMPLATING_R0 peko closed planned_task BASE_BOOK_MODEL 3 1 0

Reported by Astea, 6 years ago.

Description

wiki page: BASE_MODEL_TEMPLATING_R0 - effort: 1d

Analysis_owners

peko

Analysis_reviewers

boyan

Analysis_score

3.5

Design_owners

jani

Design_reviewers

meddle

Design_score

2

Imp._owners

jani

Imp._reviewers

meddle

Imp._score

0

Test_score

0

Analysis

Overview

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.

Task requirements

  • Common things about templates should be extracted in a class hierarchy.
    • This includes base classes.
    • Helper classes.
    • Storage of templates.
    • Template resources.
  • A mechanism for template manipulation should be designed:
    • creating templates.
    • deleting templates.
    • loading templates.
    • storing templates.
    • changing templates.
    • Consider creating a TemplateManager if needed. This is somethings that is analogous to the BookResourceManager but is quite different on the other hand:
      • It is global and is defined for every App (not Book as is the BookResourceManager).
      • It should be able to manage all kinds of templates.
  • Provide diagrams of the class hierarchy and utilities to manage templates.
  • Since this is a one day effort task, a thorough design with diagrams should be enough to start with.
  • If there is time left, implement what has been decided and write unit tests.

Task result

  • wiki content.
  • diagrams.
  • (source code with integration tests if there is time to do it.)

Implementation idea

  • Review the related tasks.
  • Design the way templates are going to be managed by the model.
  • Create diagrams and give explanations of the things that are decided.
  • (Implement and test if there is time left.)

How to demo

  • Show the wiki and explain in general the idea.
  • (run unit tests if such have resulted).

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)