Jword, the next prototype
Okay, time for a new prototype. This one is just starting code phase now.
Happily, the prior version was so clean, writing this revision shouldn't be
TOO bad.
Interfaces between front (GUI) end, and middle layer:
Interface between middle layer and File layer
DocInterface
Provides a common way to pass a document between modules.
DocInterface is implemented on the RECIEVING end. The current
data storage module then interates through its internal information,
translating it via the DocInterface functions.
A common example is when we need to save to a file.
First, we pick a file save routine, eg: SaveRTF.
SaveRTF implements DocInterface.
So then the middle section passes all the current document text
through this DocInterface. The save routine then translates from the
DocInterface data stream, to the final format needed.
When new formatting features are needed, we will add functions to
DocInterface as neccessary. Generally, we try to specify every control of
DocInterface so that the implementation can keep going if it doesn't implement
some feature.
You can go back to the design plan, or
all the way up to bolthole top page from
here.