What would be the appropriate design pattern to use in this PHP class structure, given no multiple-inheritance?

Since the APIData class will take functionallity from your Node class, you should simply extend it. Here is some pseudo code.

Objects should be dumb. When I construct something, it shouldn't be doing anything other than what I ask it - i.e. Construct yourself.

Don't be querying webservices and writing to the database. If I was using your objects as another developer on your team, I would be shocked.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions