Stefan Priebsch
commented on
Design Patterns in PHP (PHPCon Italia)I disagree with your interpretation of MVC. Model in MVC (slide #38) has nothing to do with storage, it’s about an abstract representation of domain data that should be independent from the data access layer of your application.2 months ago
Stefan Priebsch
commented on
PHP & the MVC PatternI disagree with the diagram you show on slide #4. "Model" in MVC has nothing to do with data access, but is a part of the logic layer of an application. It’s a common misconception, by the way, but if you read the wikipedia quote on the third slide carefully, you’ll notice that it does not mention data access at all, but only business logic. And I’m sure you’ll agree that you also want to separate business logic and data access ;-)2 months ago
Comments