Re: OpenDocument status / support for multiple document types
| From: | Chuck Burgess | Date: | Tue, 09 Jun 2009 13:17:42 +0000 |
| Subject: | Re: OpenDocument status / support for multiple document types | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51925@lists.php.net to get a copy of this message | ||
On Mon, Jun 8, 2009 at 11:51 PM, Christian Weiske <cweiske@cweiske.de>wrote:
>
> Should we call it OpenDocument_Doc_Text for shortness?
I'd probably drop that intermediate-level Doc/Document piece, unless there's
eventually some other intermediate-level you're going to add later on. I'd
probably just look at something like *OpenDocument_TextDocument* and *
OpenDocument_Spreadsheet* etc.
The OpenDocument.php class would contain factory methods like
> - OpenDocument::text([$filename])
> - OpenDocument::spreadsheet([$filename])
> that return the class instances.
>
This seems like it would fit with the naming above.
> ... but maybe we should start with a PEAR2 OpenDocument package?
>
+1
--
CRB