Storing Data
Program EasyDraw uses a document-oriented approach, storing each picture in a separate data file. Because the pictures are stored separately, this application doesn’t need to use a relational database.
If you needed to store additional information with the files and search on that information, you could store the pictures in a database. For example, you might give each picture a title and description. In that case, it might be worthwhile to store the title, description, and drawing information in a relational database.
EasyDraw could store drawing information in some sort of customized text or binary format. Visual Basic provides good tools for working with XML, so EasyDraw uses an XML format. XML also gives the files some degree ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access