Skip to content

Comment on Zawodny: Database Abstraction Layers Must Die (at least for PHP)parent

Comments

Yeah, I think he was more railing against "abstraction layers" that try and make calls to the DB look no different than the native language data structures.

His library is akin to separating the 'M' from the 'C' in MVC. He is saying that people go to the trouble of using these DB abstraction layers so they can proceed with spagetti coding the model (persistence layer in his terms) and the controller (business logic layer in his terms) together.

I'm not sure how valid that argument is though. Anyone I know that bothers to use an abstraction layer also separates the model from the controller.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.