I’m pretty clear on the basics of OOP. What I have not found is a good discussion of how to organize a whole web-app as an OOP object. Stand alone objects are simple enough. Groups of objects (Animal, Cat, Dog. Lion) are simple enough. Utility functions can be grouped into abstract classes (HTML, CSS, Math). The difficulty I have is in organizing it all into an object which is a pyramid several levels deep which is where the dependency injection container concept comes into play.
One simple solution for me would be to write a bunch of classes as needed but to call them from a procedural script. It seems to me I would be reaping many of the benefits of OOP while avoiding the complications.
I’ve been Googling for papers on how to organize a whole app with objects but I have not found one that discusses the subject at that level. There are lots of beginner’s papers and lots of technical papers but none that discuss the architecture of an OOP web-app. Can anyone point me to one? It would be much appreciated.