nemein / com_meego_packages

MeeGo Community Applications browser
3 stars 1 forks source link

Hooks when new comment or rating received #11

Closed feri closed 13 years ago

feri commented 13 years ago

We have two places in the code where we receive and store comments and ratings for com_meego_package objects:

It would be wise to somehow centralize the comment / rating actions so that we could implement hooks, such as average calculating into the combined stats table.

feri commented 13 years ago

A new component: com_meego_ratings_cache will solve this problem. Existing installations can just start using this instead of "com_meego_ratings" and then they can make use of the cache table, which will definitely have performance benefits.