Are today's major frameworks capable of enterprise capable applications?

That is not a rule of encapsulation. Where does anything speaking about encapsulation say all methods and properties of an entity all have to go into a single class? In the rules I’ve read, there is nothing mentioned about “entities”. You are twisting the rules of encapsulation here too, just like you do with SRP. Also, your default table class isn’t depicting a “single entity” either. It rather deals with a good number of concerns, which breaks SRP.

Scott

1 Like