Once again, arguing about the meaning of OOP on the web. I never understood why declare objects, describe them. Use all the features of an object's polymorphism when choosing the best solution to a problem, inherit the parent parameters, etc., etc. just to generate 2 kilobytes of text in the form of html tags. As one remarkable author wrote in his book “Optimization of a Web Server”, I quote: “OOP on the web easily copes with its main task - to load the server with unnecessary actions as much as possible”