Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Ratings 2.0.

Development talk:Ratings 2.0

From MoodleDocs
Revision as of 11:03, 20 January 2010 by Tim Hunt (talk | contribs) (New page: # I think it would be clearer to move the userid column later in the database table, to just before timecreated. # What value will be in the userid field if one user sets one rating, then...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. I think it would be clearer to move the userid column later in the database table, to just before timecreated.
  1. What value will be in the userid field if one user sets one rating, then a different user changes it?
  1. I think the content column would be easier to understand if you called it 'comment'.
  1. Is there any way of knowing which scale the rating is against, other than by asking the plugin? Have you considered a scaleid column in the table?
  1. class rating really should be split into class rating for the back-end, and care_rating_renderer for the GUI.
  1. Why do plugins need to implement so many callbacks to use ratings?
  1. You say the interface won't be changed, but that AJAX could be implemented in future. Well, forum already has AJAX rating!

--Tim Hunt 11:03, 20 January 2010 (UTC)