Re: Change "pOOcl" name
| From: | Davey | Date: | Mon, 07 Feb 2005 00:58:37 +0000 |
| Subject: | Re: Change "pOOcl" name | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35987@lists.php.net to get a copy of this message | ||
Vincent Lascaux wrote:
Perhaps creating shortcuts for common uses? ;) - DaveyFile/ Archive.php //File_Archive (a factory for File_Archive_$type?) Archive/OK, I worked on something similar. It's available here : http://poocl.la-grotte.org/downloads.php (Version PEAR). You can look here for an example : http://poocl.la-grotte.org/example.phps I dont really like the long names of the classes and the fact that you need to include a lot of files. Maybe a factory would help. I'm not sure what is the best way to implement it (since the different objects don't have the same constructor parameters).Gzip.php //File_Archive_Gzip Bz2.php //File_Archive_Bz2 Zip.php //File_Archive_Zip Tar.php //File_Archive_Tar Writer.php //File_Archive_Writer (Factory for below?)Writer/Mail.php //File_Archive_Writer_Mail HTTP.php //File_Archive_Writer_HTTP FTP.php //File_Archive_Writer_FTP (doesn't exist, it should)