Re: Rate User Contributed Notes
| From: | Yannick Denzer | Date: | Thu, 24 Apr 2008 19:43:19 +0000 |
| Subject: | Re: Rate User Contributed Notes | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-1610@lists.php.net to get a copy of this message | ||
Hello Hannes,
alright, I understand now how it works ;).
Just one more question for now: do the mirrors update all the notes frequently? Because ratings will change more or less often, so the mirrors need to update at least the rating-value to display the correct result.
Thanks for your help.
Best regards,
Yannick
Hannes Magnusson wrote:
On Thu, Apr 24, 2008 at 9:01 PM, Yannick Denzer <heavyraptor@gmail.com> wrote:Hello Hannes, I'm now thinking about how the rating requests will work via the servers/mirrors. I suppose that each time a note gets rated, the rating will have to be sent to the master and get saved there in the database. But how will the mirrorsCorrect.retrieve the rating information for each note? I think that this rating data will have to be saved in a file on each mirror and then get updated sometimes, just like the user notes. Is that correct?If you use the existing tables and fields then the score is already accessible by the mirrors (see manual_notes_load() in include/shared-manual.inc -Hannes