Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Asser90's avatar

Course structure with quizes.

Hi there.

I've been trying to make my own course site specifically for some of my costumers allready on a live course, however i want them to be able to prepare for the next lessons from home.

However the course site idea is build upon the idea of Laracasts, with course that has many lessons.

However i cant seem to get my head around how i would structure the course (code wize) allowing for a course to have quizzes in the middle.

Right now my DB is built like this

Courses -> lesson_steps(can be Article, Video, Quiz) -> Lesson_Article/Lesson_Video (but what about the quiz)

How would should i implement a quiz module.

Are my way of doing it a bad and timeconsuming way?

I hope you guys understand my frustration... :S

0 likes
1 reply
jlrdw's avatar

I would search github for something similar and draw ideas from there. I know what you mean, the State of Texas had online courses, where you viewed some, had a quiz, viewed more, had another quiz, etc.

Then end of course had a test. I thought they were pretty neat how they worked.

Probably some ajax integration used.

Please or to participate in this conversation.