Re: Category-Proposal: Patterns
| From: | Mika Tuupola | Date: | Thu, 20 Feb 2003 17:31:37 +0000 |
| Subject: | Re: Category-Proposal: Patterns | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13514@lists.php.net to get a copy of this message | ||
On Thu, 20 Feb 2003, Tobias Schlitt wrote:
> Since i learned "real" programming with PHP i do not really
> know much about patterns. But the point is i'd liked to.
> Because of this i thought about a new category on the PEAR
> website. What about a collection of patterns and their
> implementation in PHP? I think that'd be very usefull for
> everyone who's not so skilled on programming.
Patterns are not generic snippets of code but generic
ways to solve a problem. Take the factory pattern as
an example. Mail::factory() and DB::connect() are
both factory patterns but they have totally different
code.
--
Mika Tuupola http://www.appelsiini.net/~tuupola/