Design Patter by PHP[4]: Factory Method

Date
2006-10-31 (Tue)
Category
Design Pattern | php

第四回目は Factory Method です。コードは毎回 Subversion のレポジトリ

http://svn.nydd.org/dpxphp/

にあります。

今回の気づき

実行結果は

$ php main.php
The card for Takashi will be made.
The card for John will be made.
The card for Carren will be made.
The card for Takashi will be used.
The card for John will be used.
The card for Carren will be used.

でした。

Comment:0

Comment Form

Remember Me?


Trackback:0

TrackBack URL for this entry
http://blogs.grf-design.com/mt/mt-tb.cgi/195
Listed below are links to weblogs that reference
Design Patter by PHP[4]: Factory Method from The Croton

Return to Page Top