I am writing my first project on MVC architecture. I\'m a beginner and might be missing out on a simple one. But I just can\'t figure out how to implement constraint in View