PHP CSV Utilities v0.3 on the way...

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

PHP CSV Utilities v0.3 on the way...

Post by Luke »

I have finally found some time to wrap up version .03 of my csv library. I was hoping that somebody here could help me out with a few things. First of all, I have begun writing docs for version 0.3 and I'd like some critique if possible. Second, I need help naming one of the components. Csv_Sniffer detects the format of a csv file. Many people have told me that $sniffer->sniff() is too strange, which I agree with. I was thinking of calling it Csv_Detect, Csv_Inspect, I don't know help me come up with a good name for it. :)

Actually, now that I think about it, I'd really like to come up with a better name for the library in general. PHP CSV Utilities is boring as hell, but it does at least tell the user what it is/does. Does anybody have a better name for the library?

The project's home page his here: http://code.google.com/p/php-csv-utils/

The new documentation can be found at the address below. Thanks to anybody who takes the time :)

http://php-csv-utils.googlecode.com/fil ... tation.odt
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: PHP CSV Utilities v0.3 on the way...

Post by matthijs »

Great work.
About the docs: I'll comment on them later.
About the name: I'd call it Csv_Inspect. Csv_Detect doesn't make much sense, because you're not only detecting. And in the first sentence of the docs you start with "This component inspects a sample of CSV data .." so if it does that why not call it that way :)

For the name of the library: what were you thinking about? A less boring but still functional name or a random fancy name?
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: PHP CSV Utilities v0.3 on the way...

Post by jayshields »

Go down the "colour-noun" route! Errrm, Pink Light?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: PHP CSV Utilities v0.3 on the way...

Post by Luke »

Well the reason I haven't changed the name from PHP CSV Utilities is because of the fact that it tells you exactly what it is, but lately because of how long the name is, I've been calling it PCU which defeats the purpose of calling it PHP CSV Utilities in the first place. So... I don't really care what it's called but I don't think I like PHP CSV Utilities. I prefixed all the component's classes with "Csv_" (a poor-man's namespace), but I don't think I could call the library Csv. that would be confusing as hell. :(
User avatar
VirtuosiMedia
Forum Contributor
Posts: 133
Joined: Thu Jun 12, 2008 6:16 pm

Re: PHP CSV Utilities v0.3 on the way...

Post by VirtuosiMedia »

Spreadsheeter - A PHP CSV Utility Library
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: PHP CSV Utilities v0.3 on the way...

Post by Luke »

Go down the "colour-noun" route! Errrm, Pink Light?
Wouldn't that be "colour-adjective" ? light is not a noun. :?
User avatar
allspiritseve
DevNet Resident
Posts: 1174
Joined: Thu Mar 06, 2008 8:23 am
Location: Ann Arbor, MI (USA)

Re: PHP CSV Utilities v0.3 on the way...

Post by allspiritseve »

The Ninja Space Goat wrote:Wouldn't that be "colour-adjective" ? light is not a noun. :?
Think light as in daylight... not light as in not weighing very much ;)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: PHP CSV Utilities v0.3 on the way...

Post by Luke »

Think light as in daylight... not light as in not weighing very much
Not sure how I missed that, haha.
Post Reply