[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: RE: [PHP] OOP, Classes, Sharing Code
From: "Jay Blanchard" <jay.blanchard () niicommunications ! com>
Date: 2004-06-28 18:41:19
Message-ID: C8F323573C030A448F3E5A2B6FE2070B03522685 () nemesis
[Download RAW message or body]
[snip]
So my question is, should I just duplicate the code in each class
(Portfolio and Album), or is there a better way of organizing all of
this?
[/snip]
If you are going to duplicate code why not just create a generic class
with the code that would be duplicated and then extend the class as
required?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic