Abstract the storage of an app

P

Panos Laganakos

Hello,

I'm trying to think of an OO way to abstract the storage of an
application I am working on.

The classes are (example):

FamilyMember (base class)
Family (container class)

I've been thinking of using a FamilyDoc class to interface the Family
container class to a storage location (particularly, in XML).

I want to be able to use another backend for storing that data, ie
SQL(ite).

What would you suggest as a design pattern for something like this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top