I've been thinking about how to implement the badge feature similar to SO's on a new website. What is the best way to store criteria for badges?
Two ideas:
- All code
- 'Second system' - create a meta architecture for defining badges and their criteria. Store some info in the database and have code query it to figure out the badges and their criteria.
Are there better ways?