Re: Interface naming standards?
| From: | Daniel Convissor | Date: | Thu, 01 Jun 2006 21:33:56 +0000 |
| Subject: | Re: Interface naming standards? | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42735@lists.php.net to get a copy of this message | ||
On Thu, Jun 01, 2006 at 11:47:05AM -0700, Joe Stump wrote:
>
> Spreadsheet_Writer (contains static factory - is abstract)
> Spreadsheet_Writer_Common (contains *definitions* of common functions
> - is abstract)
> Spreadsheet_Writer_Excel (contains Excel implementation)
>
> With an interface you'd probably have Common implement
> Spreadsheet_Writer_Interface and define some of the functions in the
> Interface.
But what about "Spreadsheet_Writer_Excel_Format"? The "Format" class
needs an interface defined as well. Hence,
"Spreadsheet_Writer_Interface_Format".
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409