A design pattern question regarding multiple database with slightly different structures -


i working on rewrite of old perl project. project employee performance evaluation. every year employee evaluated supervisor(s).

the project first put use in 1994 using mysql. in 1995, new mysql database created 1995 evaluation , source code modified. 1996, 1997, .....2003. in 2004, different. developers use oracle....til now. see there more 10 databases.

a bad thing each year evaluation form (evaluation standard) different. database structure different year year.

now need rewrite project using jsp/servlet has universal user interface years. have keep database structure, boss said, data very sensitive keep there.

this situation. tell me how design this? design patter should used?

i assume evaluation reports used view data, not change them anymore.

if case, decide data/tables needed databases evaluation reports (this possibly subset of data/tables). on each database, define view contains data evaluation report.

of course, view definition different every database, @ least report can rely on structure of view.

separate view as possible rest of database layout. still gives possibility change layout in next years. long can create database view report, report work unchanged.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -