Managing contexts per course in Drupal 7 based LMS
I'm currently half-way developing a Drupal 7 based Learning Management System. I am able to create courses and manage course specific activities and resources (all these are defined as entities). Maybe i could have integrated Organic Groups but i implemented my own logic to create courses for now.
I am using Context to display blocks by path conditions. These contexts apply globally to all courses. However, i would like to be able to manage this conditions for each course individually. I could code the module to create a context per course creation, but since these contexts are running all the time, I am guessing it would slow the performance if i were to have hundreds of contexts for hundreds of courses.
I haven't studied the underlying architecture of Open Atrium in detail but i could see it does exactly what i need. It's built on Drupal 6, uses Organic Groups, Spaces and Context... you are able to manage the dashboard blocks for each group.
I just need some suggestions. Am I going the right path? Should i use another module? Should i implement my own logic? What would be the better way for performance?