Forum Moderators: open
To create this i have two options. Either i can use a rating table (a separate table in addition to the article,news,quote etc table) and keep all the ratings in it(for whole site)
Or
I can have rating field in each (article,news,quotes etc. ) table and store the corresponding rating data in that.
I have different sections like quotes,articles,story,news etc. and the id is unique in a particular section. But if i use the 1st oprion then i will have to store article1,article2,news1,news2 etc... to identify the article and news. But in 2nd case i will just use id 1,2,3. ..
Please suggest which way is better/preferable keeping in mind that i would have enormous amount of db data in future.