Comment on Entity/Repository Model for Hubzilla
@Mario Vavti I toyed a bit more with this, introducing the abstract Entity base class that does the actual db interactions.
See commit 8a79b5a3.
It's rough, but should give a general idea. I think it's possible to take it even further, making the entities themselves more declarative, apart from the actual functionality they bring.
See commit 8a79b5a3.
It's rough, but should give a general idea. I think it's possible to take it even further, making the entities themselves more declarative, apart from the actual functionality they bring.