If you were to build a badge system similiar to how SO does it, would you put the logic/business layer in the database directly (via stored procedure, scheduled sql jobs) or put it in the server side?
From what I can think of, you have to:
Potential options
Would a combination of these be required? I think it would since some badges are based on milestones for a given question, maybe a batch job is better?
Update
A system where you can modify the badge system, then re-run the entire badge linking for everyone would be even better. i.e. say you change the logic for some badges, now you have to re-apply it to all the questions/answers/votes/etc.
interesting problem to solve!!
I would recommend putting all business logic in the business layer. I recommend this for a few reasons:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With