Implementation of the elements of names


Document concerned

This document deals with access to the elements in a persistent object. I am writing this short document to clarify the necessary programming work.


06/12/2016: initial version


Invisible Media


Framework of the project

This project is a digital and algebraic calculation software. This project is a way to train very long and tedious equations and to factor them according to a common approach. Goal: solve equations, find all the solutions algebraically and get an equation based on parameters and fixed digital data.

All the features

The set of features is detailed in this document: All features (unbundled) .xlsx
Name of the feature covered here
Of the item by name

Relative need

The coding of the names has an importance of readability. The names are referenced by named constant variables that contain a name. Associated with this name, I would add the required data type information. If the named data does not contain the right kind of data so an error is triggered. For any data stored in an object persistent (via a binary serialization), the couple name/type contains an instance of the data to serialize. Find this data is possible only by the name. It is essential to record in this document any name associated with each piece of data in the data model.

Relationship with other features


The data is recorded, read and changed over time via the data model


This is to deal with all the versions of the data model. However, a binary serialization means that all data are registered in the persistent file. Once this file has been saved on disk, to resume, just dé-sérialiser. Except that if the software is to a later version, all the non-existent data in the file triggers a null that it is difficult to take into account data fault. In this case, the software should revert to a previous version. When the system uses the earlier version, he also supervises all later versions.
Note that each file has a version number of the software; If a file is not the correct version, this problem is fixed once the file overwritten and saved with the new version

Last edited Dec 11, 2016 at 5:57 PM by skercrow, version 2