Backend custom logic and validations - v8

Business logic and validation on the backend - how do we achieve this?**