I've been playing with using a database backend rather than files and it seems to me that the DataImpl class doesn't really do what it's meant to do. Or at least it and the Data base class. For instance there is a Server object and an associated list type that exists in DataImpl. But that is very heavily tied in with the gui and a lot of other stuff.

I'm beginning to think that either the DataImpl class needs to be a base class for yet more classes or there needs to be a small abstract class which is passed to the DataImpl class which provides for reading data from/writing data to the desired storage system. I'd prefer the latter as it means it's much much easier to provide an upgrade path (or if not easier, at least cleaner).

However said small abstract class would require accesses to things like the Server class and the associated AssocVector<Quark, Server> container type. which would require breaking up the DataImpl class.

Which is all getting very messy and I'm just pinging the list for thoughts/suggestions


_______________________________________________
Pan-devel mailing list
Pan-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-devel

Reply via email to