Adding comments to videos and pic gallerues on a tube site - best way of getting this done.
a) I create separate files like video_comment.php and pic_gal_comment.php (would this be correct?)? Or I can just create one comment.php file (not really asking about what I can do but about what is the best)?
b) How do I add these comments to a database. Do I create second or n-th database for this, and join it on the video or pic gallery id which would be unique? Also make vid id and pic gal id unique (is this correct thinking?)?
c) As far as I understand I could be caching these single video and pic gallery pages of a site. What is the best solution for this? Or just one cache system for the whole script? How would this work?
I literally dont have an idea about these aspects of this and this would get me closer to where I would need to get.