I am working on a task to write a data extractor from a database to a flat delimited file.
The trick is that the output format although is fixed (i.e. what columns I need) , it is subject to change in the future (as with any software system requirements :-) )
I can write a program and make the fields configurable via a input file or hold it in a table etc, but was wondering if there is any standard C++ design pattern that can address this situation.
I looked at MVC/Observer but looks like what I need is the reverse where my view can change, but my model remains the same.
Is Mediator pattern worth a shot?
Let me mention that my Model (i.e. Database / table / columns) are pretty stable. It is just that the output is subjected to change in the future.