Changes between Version 6 and Version 7 of BASE_PERSISTENCE_INTERMEDIATE_STORAGE_R0
- Timestamp:
- 12/29/08 14:31:48 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BASE_PERSISTENCE_INTERMEDIATE_STORAGE_R0
v6 v7 8 8 9 9 == Overview == 10 The aim of th e task is to improve the persistance functionality. Books would be saved and loaded.There is such functionality at the moment, but it does not work properly.10 The aim of this task is to revise the code of the Storage class - the intermediate format for saving Sophie2 books. 11 11 12 12 == Task requirements == 13 1. save books [[BR]] 14 15 2. load books [[BR]] 16 17 3. Make a design and write a documentation about how it works. [[BR]] 18 19 Extra [[BR]] 20 21 4. to connect with LOAD / SAVE menu in the project [[BR]] 13 * Refactor the code of the Storage class and all related classes so that it is working [[BR]] 14 * Move things to the base.persistence module. [[BR]] 15 * Provide class/dependency diagrams with the new structure. [[BR]] 16 * Ensure the existing unit tests pass and provide new if necessary [[BR]] 22 17 23 18 24 19 == Task result == 25 The result of this task should be source code 20 The result of this task should be : 21 * Source code [[BR]] 22 * Class/dependency diagrams [[BR]] 23 * Working unit tests [[BR]] 24 26 25 27 26 == Implementation idea == 28 At the moment the class "Storage" is implemented.Some other files , which are in org.sophie2.main.mode.persist 29 are made, too.These files help for working with the books. It must be able to load and save the books. At the moment there is such module but it does not work properly, because there are many changes in the project .The module is "org.sophie2.main.model.persistance.r2". Design and documantaion of the funcionality must be done. 27 * Review the code in main.model.persist* packages 28 * Run the existing unit tests and see where they fail. 29 * Run the application and try loading/saving books. Mark the exceptions you get. 30 * Fix the errors - ensured by passing unit tests and ability to load/save. 31 * Move to the new module and refactor. Test again 30 32 31 33 == Related == 32 [ http://sophie2.org/trac/wiki/BASE_PERSISTENCE_COMMONS_R0]34 [wiki: BASE_PERSISTENCE_COMMONS_R0] 33 35 == How to demo == 34 It must show documentation for the functionality. In addition, it might make a demostratively load and save from the menu of the project 35 36 * Show the new classes and describe their relations. 37 * Run unit tests. 38 * Open Sophie2 and demonstrate loading/saving. 36 39 = Design = 37 40