Need advise developing an Online Exams Platform using PHP, Javascript & AJAX
<p>I desperately need advise developing an Online Exams Platform using PHP, Javascript &amp; Ajax.</p>

<p>My problem is I can't figure out the correct methodology for taking the exam procedure, here are my problems and the options I'm thinking of:</p>

<p>I'm not sure whether I shall load all questions at once from the database and toggle between them using java script, save student answers and then submit the result using AJAX, that way no connection to the server will be required during the exam which makes it faster and more importantly the exam will still run if the internet goes down, and YES we have terrible internet connection.</p>

<p>Or shall I load each question independently and save the answer to a table and load another question with ajax? but that way what if the connection slows down or even worse goes down?</p>

<p>Any ideas anyone?
Thank You,</p>