News for hackers. Stuff that matters.
Re:Moving from Go to PHP Again by Aeolun on Friday February 08, 2019 @06:22AM (#19113220)
Unless you want to write a ton of transformers, your models will likely know about your database design. If only by virtue of having the same properties.
Re:Moving from Go to PHP Again by DCoder on Friday February 08, 2019 @07:08AM (#19113452)
I think the parent is objecting to the fact that annotations spray this "external" information right in the middle of the controller/model. FWIW, decent tools let you put this info in separate configuration files instead of code annotations, "decoupling" it from the code.