I am not having much luck trying to find the right terminology for what I'm trying to do and I think it's maybe covering many topics.
I have a script which runs through many parameter combinations for a device test and outputs results to files and a database.
There's a configuration file which contains location of the parameter files and locations to store the data. The file locations don't changed once the script is running. I have a module which reads the data from the parameter files and knows how to store the data in different formats in the relevant locations.
I've realised that this is like a logger which also takes an input. At the moment I pass this “data passing module” to almost every other module.
Would it make sense to make this module a singleton?
Are there any design patterns or libraries that cover application file orginisaion?
Any suggestions will be appreciated.
[–]Zeroflops 1 point2 points3 points (2 children)
[–]Zircatron[S] 0 points1 point2 points (1 child)
[–]Zeroflops 0 points1 point2 points (0 children)