File_CSV as standalone package?
| From: | Marshall Roch | Date: | Sat, 30 Aug 2003 05:46:07 +0000 |
| Subject: | File_CSV as standalone package? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20845@lists.php.net to get a copy of this message | ||
Currently, the File package contains support for CSV parsing. I'd like to see this moved to its own package, because it really doesn't look like it belongs there:
1) File_CSV doesn't sound like it fits with File's description: "File provides an easy interface to PHP's builtin file and directory functions, plus some functions to deal with paths."
2) File is in the File System category, while File_CSV should be in File Formats.
3) The only way you'd know it's there is if you happened to stumble across it in CVS or caught the very short mention of it in the package description.
It looks like File_CSV as a separate class would need to depend on File, so this would be more of an organizational change than a code improvement/fix.
What do you think?
--
Marshall Roch