class? package?
| From: | Shelley | Date: | Tue, 10 Jun 2008 10:12:54 +0000 |
| Subject: | class? package? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-275172@lists.php.net to get a copy of this message | ||
Hi all,
If you are designing with OO principles, could you give an explanation of
what is the difference classes and packages?
Several principles talks about classes and packages, such as:
The classes in a package are reused together. If you reuse one of the
classes in a package, you reuse them all.
but few explains the difference between them.
When I was summarizing the OO principles, that question confused me:
http://phparch.cn/index.php/php/43-php-advanced-programming/170-principles-of-object-oriented-design
Thanks in advance. :)
--
Regards,
Shelley