作者qrtt1 (愚者)
看板PHP
標題[URL] PHP 5 and Design Patterns: An Introduction
時間Sat Oct 21 01:02:33 2006
http://www.zend.com/php/design/patterns1.php
<%
Introduction
Even if you have never set eyes on a pattern catalog in your life, you have
probably come across the phrase design patterns in recent years. You may even
have assumed that patterns were yet another fad. After the turn of the
century it suddenly seemed that patterns were everywhere, and PHP was not
immune. Yet with increased support for objects in PHP 5, design patterns are
set to become an essential tool for the PHP coder.
In this article I introduce patterns in the context of PHP 5. From a basic
definition, I work through to a short example. I also describe the structure
of a pattern and explain some of the principles that the classic patterns
promote and deploy.
%>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.59.94.161
1F:推 foxzgerald:該作者本書: PHP5 Object, Patterns, and Practice 10/21 01:48
2F:→ foxzgerald:ISBN 1-59059-380-4 重慶南路上的電腦書店有賣 :P 10/21 01:49
3F:推 changyy:縮小字型 XD 10/22 22:26
4F:→ changyy:推錯 XD 10/22 22:26