Ahmed Nader
Ahmed Nader

Reputation: 181

how to store static data that will be localized?

I am developing a health care system and I want the doctor when starting to type a diagnosis instead of typing it , he can select from a list that will be displayed for him.

the list contains diseases or symptoms that will then be inserted into database in a diagnosis table.

I did that because of two reasons:

I am facing a problem here, should i put all these in a lookup table in a database or a config file ? given that number of rows are 3000 in 7 languages ( each language will have it's own column ) and i may at anytime add new data or remove.

Upvotes: 0

Views: 189

Answers (1)

Tab Alleman
Tab Alleman

Reputation: 31785

I would put them in a database. I find it easier to maintain, and faster to query than a config file.

Upvotes: 1

Related Questions