Abstracting file types
Posted: Thu Mar 02, 2006 8:50 am
As part of the ToolAPI project, I've noticed that we have a few different ways of storing things. Unfortunately, we can't just bust out with a standard ScriptSection to read each of the files.
The few that come to mind are:
* Accounts
* Books
* Messageboards
Accounts is very similar, but slightly different syntax. Books are fairly proprietary, and from a quick glance, msgboards seem a little proprietary as well.
What I suggest, and this won't matter for a couple of weeks, but I think we should standardise on a format. Same heading formats, same tag delimeters, and so on. Once we have the old stuff properly encapsulated, we can write a quick converter (and this would mean a C++ implementation of the ToolAPI as well).
But I would suggest, from a simple maintenance perspective, that long term we standardise on a format.
Just an idea, folks.
The few that come to mind are:
* Accounts
* Books
* Messageboards
Accounts is very similar, but slightly different syntax. Books are fairly proprietary, and from a quick glance, msgboards seem a little proprietary as well.
What I suggest, and this won't matter for a couple of weeks, but I think we should standardise on a format. Same heading formats, same tag delimeters, and so on. Once we have the old stuff properly encapsulated, we can write a quick converter (and this would mean a C++ implementation of the ToolAPI as well).
But I would suggest, from a simple maintenance perspective, that long term we standardise on a format.
Just an idea, folks.