ORM's:
- C# (.NET):
- Entity Framework
- raw SQL
- PHP:
- Eloquent
- raw SQL (PDO)
- JavaScript:
- Sequelize
- raw SQL
We are simulating an LMS (Learning Management System). There are simplified database based on Learnin, my LMS implementation.
Each ORM have the same entities:
User
- which has one
Student
(additional information about student) - which has one
Teacher
(additional information about teacher) - which has many
Courses
- which has one
Student
- which belongs to one
User
- which belongs to one
Teacher
- which belongs to one
User
- which belongs to one
Course
- which has many
Users
- which has many
Tasks
- which has many
Task
- which belongs to one
Course
- which belongs to one
- Select queries:
- Select n first users
- Select n students and their courses order by surname
- For n students select tasks to do (with course information)
- Insert queries:
- Insert n users with additional information (student or teacher) using transaction
- Insert n courses
- Update queries:
- For n courses prolong available to date
- Delete queries:
- For n users take them out of courses
- Delete n courses
not done yet...
not done yet...