Pergunta de entrevista da empresa iCONECT Development

What are the layers in web development? Where should we do the validation and why