Re: oop5 basic rewrite informal RFC
| From: | Lars Torben Wilson | Date: | Tue, 08 Sep 2009 21:08:04 +0000 |
| Subject: | Re: oop5 basic rewrite informal RFC | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380816@lists.php.net to get a copy of this message | ||
Brandon Savage wrote:
On Sep 8, 2009, at 2:00 AM, Lars Torben Wilson wrote:Hi Brandon, I think I worded my message poorly--I was trying to say that I think the PHP 4 stuff should definitely be relegated to the Appendices. Still available, but not in the main manual.Philip Olson wrote:Torben, I don't share your desire to keep the PHP object reference around for any reason. Appendix, perhaps, but certainly not in the main manual.Hi Philip, This makes me wonder how close we are to the time when the PHP 4 object reference can be relegated to the Appendices. I mean, even I still have a couple of PHP 4 apps floating around out there so I of course recognize that the ref is still needed, but I agree 100% that the newer object model should have the more readily available documentation. The PHP 4 class/object ref probably also needs a look but honestly at this point I'm not sure it's worth a whole lot of work anymore--newcomers to PHP really shouldn't be using it. TorbenComments, criticisms, and feedback greatly appreciated!Sounds reasonable, and the more information the better :) And while doing this, it's probably worth thinking about how to ensure oop5 is a first class citizen. Meaning, a person reads about OOP in terms of PHP 5 and those who care can find a section that's specific to how PHP 4 differs. Maybe people have ideas for how best to accomplish this. Regards, Philip
I would therefore suggest the following: * The drafting of a new section of the PHP 5 OOP manual, listing the differences between PHP 4 and PHP 5 in brief. * The relocation of the PHP 4 section to the appendix. * The application of a large red warning box on each PHP 4 page, stating that this version of the language is out of date and the techniques listed on this particular page may break in future versions of PHP.+1 on all counts from me.
Best, BrandonRegards, Torben