English 中文(简体)
在这种情况下需要帮助,标准是什么?
原标题:need help on this scenario , what is standard?

我在我的在线考试asp.net mvc应用程序中有这个场景。

其中,作为学生登录->;他选择测试/检查->;然后加载这组问题。

现在我正在像向导中那样一个接一个地填充问题。这个向导完全是动态的(意味着动态地创建所有元素),构建在javascript和jquery中。

场景是:当学生给出问题的答案时,可以将答案保存在集合中,并在最后一次提交问题时立即发送到控制器,还是在单击“下一步”按钮时立即保存?哪个更好?我认为点击“下一步”按钮会更好。但我想知道这方面的标准方法。请引导我。

问题回答

我不认为有“标准”。这取决于需求。

If the next question depends on the result of the previous answer you should submit it immediate. If not, I don t see a problem to submit all the answers at once. This also might save you the work of storing the answers in the Session/TempData





相关问题
How to get Reports properly by using JBehave?

I am using JBehave to run Scenarios, i have taken an example from WebSite , it is executing properly and generating reports in trarget/jbehave folder. but the result is showing every time as zero. (i ...

How to write to the SAME excel sheet using JXL API?

I have an excel sheet (located in classpath), which has scenarios to be read and executed. Once they are executed, I should write back to the SAME excel sheet saying whether the scenario is PASS ed ...

热门标签