A lightweigt, blazing fast star rating plugin for WordPress
Basically we create a new table called
(prefix)ec_stars_votes, where we store the votes of the people (to prevent duplicate votes).
The number of votes and the sum of the total votes are stored in the
(prefix)options table in form of custom meta fields, one for the count, and another for the sum. Both fields get updated when someone votes.