I’m writting a web application using MVC and Linq2Sql. Theie are a set of questionaires having different versions. Each version questionaire have different rating rules for the questions in the questionaire. For example 1.0 version may let question 35~ question 100 tobe 1′ but in 2.0, they are 1.5′. How can you store that rules in you application?
Thanks a lot in advance!
I’d store that sort of information in meta data within an xml file.
I’d have an xml file that stores all possible questions maybe. I’d then have another xml file that stores the exams with references to questions. In the exam xml I’d have the rules for the question.
That way you could have a question with 100’s of possible rules.
XML may not be your flavour and you could just as easily store them in a database but databases are more difficult to deploy than an xml file.