|
Posted by Ivαn Sαnchez Ortega on 06/22/07 22:54
grossespinne@gmail.com wrote:
> My question is whether a more object-oriented way exists to solve the
> problem.
You are looking for a Factory design pattern.
I suggest you to do a bit of research about that, and about design patterns
in general.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.20-1-amd64 kernel, KDE 3.5.7, and PHP
5.2.3-1 generating this signature.
Uptime: 00:53:56 up 7 days, 8:24, 3 users, load average: 0.78, 0.67, 0.71
Navigation:
[Reply to this message]
|