Development talk:Ratings 2.0
From MoodleDocs
- 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 a different user changes it?
- I think the content column would be easier to understand if you called it 'comment'.
- 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?
- class rating really should be split into class rating for the back-end, and care_rating_renderer for the GUI.
- Why do plugins need to implement so many callbacks to use ratings?
- 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)