設計模式的PHP實現示例

jopen 10年前發布 | 15K 次閱讀 設計模式 PHP開發

這是一些用PHP實現著名設計模式的示例代碼。每個模式都有例子(其中大部分來自Zend框架,Symfony2或Doctrine2)。

Patterns

The patterns can be structured in roughly three different categories. Please click on the :notebook: for a full explanation of the pattern on Wikipedia.

Creational

Structural

Behavioral

More


項目主頁:http://www.baiduhome.net/lib/view/home/1414996676559

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!