Monthly Archives: October 2016

A Good Design Pattern for Institutions and Courses?

I need to come up with a design pattern to create a WordPress plugin.

Here are the things to keep in mind in the design of this plugin:


  • There can be many institutions.
  • An institution has an ‘institution-term-id’.
  • Courses

  • Each institution can have many courses.
  • Each course can belong to only one institution.
  • Each course can have 0 or more lessons.
  • A course can have one or more video URLs in it.
  • Each course has an author.
  • Each course has a course description
  • Each course description can have 0 or more images
  • Lessons

  • There can be one or more more lessons
  • Advertisements