I would like to know if DAO-type classes are required in PHP?
Ex: ProductoDAO
I see a lot of people programming without even putting DAO files on an MVC platform.
I'm learning Object Oriented programming in my college, and the teacher forwards the user to create DAO files for separation of responsibilities.
Hearing a @Hipster podcast, I noticed that the @stackoverflow developers put queries directly into the controller. Is that legal too?