public marks

PUBLIC MARKS from nhoizey with tags php & design

2009

Symfony expliqué à ma maman, 1ère partie : qu’est-ce qu’un framework ?

« On se résume : côté pile, le framework est un cadre structurant, côté face, le framework est un outil facilitant le travail. Finalement, on avait bien raison de garder le mot anglais. »

2006

Five common PHP design patterns

by 6 others (via)
Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.

Main Page - Patterns For PHP

by 1 other
Patterns for PHP is a repository of Design Patterns implemented specifically for PHP. Tired of seeing Java implementations? Just want to see what Patterns are all about? Then come on in, browse, and if you wish, contribute to the growing number of Design Patterns with PHP centric descriptions and examples.

2005

Mixins for PHP

by 2 others
I find mixins very useful in other languages. In Ruby, any class that implements the each method can utilize the Enumerable mixin. Enumerable is a class containing functions which use the each method including: find, grep, and reject. The functions are mixed into the new class's set of functions. Incidentally, that PHP does not implement mixins natively is not a criticism of PHP. PHP's design goals are different from Ruby's.