I am struggling with the design for the following scenario:
1. I need to build an app which should generate reports.
2. The input is a csv file (but it can also be of other type as well).
3. The reports may be of types excel, word, pdf, etc.
4. Each of the reports can be on a different content: Time report,
Population report, my grades report etc.
5. If it is an excel report - it may also need to have charts or
graphs, of any kind - bar, lines, etc..
6. The user input is, as I said before, the input file, which output
report file type ,what its content or subject (which is correlated of
course with the content of the input file) , and if the output is
excel - what type of the charts it should contain - bar, lines, etc
(the charts subjects are predefined - although I guess they could be
also given from outside somehow...) .
My head is mixed up with factories and abstract factories as
candidates for an appropriate design, but unfortunately I cannot come
to the final solution.
Maybe someone can bind all the links up for me?
I will appreciate it.
Thanks!