New ask Hacker News story: Ask HN: How much logic should I keep at the database vs. app layer?

Ask HN: How much logic should I keep at the database vs. app layer?
2 by cliffordfajardo | 1 comments on Hacker News.
As a basis: DB validating the format of an email address: No DB validating the price of a product can't be negative: Yes Q1:How would you define the line between them? Q2:What are your favorite readings/resoucres on this topic?