Version 1 (modified by boyan, 16 years ago) (diff) |
---|
Analysis
Overview
This group of tasks is about redesigning the book model of Sophie2 in accordance with the new model of resources. Currently the book model consists of the book, its pages and the page elements (frames, groups and book extras such as audio annotations and stickies). After the redesign, the model will be changed, with a better defined hierarchy of its elements. After this iteration, a complete design with a basic prototypical code will be present.
Task requirements
- Analyze the current state of the book model:
- What classes are present and how are they related?
- What properties do the different elements have and are they all needed?
- Provide a new hierarchy of classes that better reflects their relationship.
- Provide a new design for the contents of the classes.
- Provide a prototypcal skeletons of the classes.
- Provide a schedule for the next iterations of this task:
- Estimate how much time is needed for the complete refactoring.
- Split the redesign into meaningful subtasks that can be completed in one week.
Keep in mind that this is closely related to the redesign of the resource model and should be done in parallel or after it. The change of the model will lead to a need of refactoring the view and the logic. Take that into consideration when composing the schedule.
Task result
- Design diagrams of the new classes.
- Prototypical code of the new clases.
- Schedule for the next actions to be taken.
Implementation idea
Consider the design drafts created by milo:
- All resources contain only immutable values.
- Consider having a class Element that is a superclass for pages, frames, groups and stickies.
Related
The design drafts
GROUP_RESOURCE_MODEL_REDESIGN_R0
How to demo
- Show the design diagrams and the prototype classes.
- Run any new tests created.
Design
Describe your design here.
Implementation
Describe and link the implementation results here (from the wiki or the repository).
Testing
Place the testing results here.
Comments
Write comments for this or later revisions here.
Attachments
- BookModelClassDiagram.jpg (210.6 KB) - added by boyan 16 years ago.