Design - continued ......
Data storage
Storage of data is essential if the system is to remember
any user specific data such as the user’s real name,
e-mail address, which news groups that they are subscribed
to and which articles within the group they have read.
The ‘newsrc’ is the most important piece of data
that the system should store about a user. The reason being
that a newsrc file, or in the case of this project just the
data stored within, is a plain ASCII file that lists news
groups, whether or not the user is subscribed to the specific
news group and the article numbers that the user has read.
There are three obvious choices for data storage.
- Flat file
- XML database server
- SQL database server
|