Nobody seems to want to answer your question. Well ... I recently developed a comment system similar to yours. I will try to explain how I achieved this. (and you will also be able to work with reviews / any others).
, : component (, //), identificator ( ).
, , check, , component @identificator () (MySQL ). , comments.
id (item_identificator) | comments | title | content | author | timestamp | <etc.>
My comments component item_identificator.
#comments table:
id | component (in this case - "example") | item_identificator | comment | author | timestamp | <etc.>
, comments, , component item_identificator .
, ! , PHP MySQL.
, .
, Disqus, ... -.: (