From: Paul DuBois Date: 2003-05-06T21:48:24+09:00 Subject: Re: Why is PHP so popular? What can we learn from the PHP camp? At 21:22 +0900 5/6/03, Lothar Scholz wrote: > >> 6) Rubies OO functionallity is not so important in CGI like scripts >>> (this means scripts that start with no internal variables other >>> then session variables). >>> This would only be an important point if you use an application >>> server, but there is none. > >> Why would a CGI application benefit less from OO than other types of >> applications? > >Because a CGI script (or better any non application server like >script) starts with zero data. It loads all data, processes them and >outputs the data. With this constellation there is often not much to do >so no need for a technical better solution. > >Okay if you refer to monster applications (for PHP) like PHPNuke or >MySQL then you find that they could be written in 50% of the code when >using good OO. But there are so less applications of this size >(written - not used) that they don't count for PHP popularity. If you're going to make statements like that, you must expect to be called on it. Specifically: What is your evidence that 50% of MySQL could be removed by recoding using OO? What's the level of your actual familiarity with the MySQL source code?