Version 5 (modified by peko, 16 years ago) (diff) |
---|
Analysis
Overview
This task is about persisting immutable things. Generally we have immutable things and properties with pro objects that have to be persisted. This task is responsible for persisting the immutables.
- They are usually not dependent on anything else.
- Their persistence is quite trivial and currently supported by the formats. These include the backgrounds, titles, sizes etc.
Task requirements
- Review persisting in the following modules:
- => trunk/sophie2-platform/modules/org.sophie2.base.persistence
- => trunk/sophie2-platform/modules/org.sophie2.main.model.book.format.r1/src/main/java/org/sophie2/main/model/book/format/r1
- => trunk/sophie2-platform/modules/org.sophie2.main.model.book.format.r2/src/main/java/org/sophie2/main/model/book/format/r2
- Describe the things used for immutables.
- formats.
- XML tags.
- diagram of the format.
- etc.
- Add the new things that are to be persisted like:
- margins
- paddings
- etc. (think of the other things after carefully examining the model.)
- Provide diagrams of the format that includes the tags for the persisted things.
- Create integration test for new persisted immutables.
- All important wiki content should be put in the corresponding section of a wiki page => BASE_PERSISTENCE
Task result
- wiki page
- source code
Implementation idea
- review code
- add new XML tags
- add the new immutable things to the format
Related
- BASE_PERSISTENCE_COMMONS_R0
- BASE_PERSISTENCE_INTERMEDIATE_STORAGE_R0
- BASE_PERSISTENCE_FORMAT_REGISTRY_R0
- BASE_PERSISTENCE_PROPERTY_FORMAT_R0
- BASE_PERSISTENCE_FORMAT_POINT_R0
How to demo
- show the wiki page.
- run tests.
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.)