* Thus wrote Stefan Walk: > Hi, > > First, I don't think this belongs in the PHP Manual (It has nothing to > do with PHP itself, and there are many resources about patterns out > there).
Yes there are a lot of resources out there. The purpose of oop 5 patterns in the manual should be to demonstrate how to use PHP with those common patterns that are used in OOP programming, not to explain the pattern. An intro to patterns could have a disclaimer, mentioning somthing to this effect. If needed it could be moved elsewhere, like the FAQ. I just think it's more appropriate in this area. It is pratically guaranteed that pattern's are going to be in the manual, we've already have had people post notes on how to make patterns using the Reflection class. > > Second, if this goes in, the examples should be "done right". Right now > they look like more like PHP4 code then like PHP5 code. This rather is a strong argument on why we should have a proper way section on how to implement pattens. I dislike php4 hackish oop code in php5 as well :) Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!