Re: DB_Mongo Package Proposal
| From: | Igor Feghali | Date: | Mon, 16 Mar 2009 23:59:06 +0000 |
| Subject: | Re: DB_Mongo Package Proposal | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51630@lists.php.net to get a copy of this message | ||
Hello Kristina,
> So, it seems like implementing MDB2_Driver_Mongo wouldn't be a good idea,
> but let me know if I'm misunderstanding MDB2 or what you're suggesting.
yes you are right. I didn't notice it was not a RDBMS.
> Sorry, I thought I needed the DB prefix since it is in the Database
> category. I'll fix it.
you can freely call it DB_Mongo or whatever you like. It was just a
suggestion ;)
but no, it does not need to begin with DB_ just because its in the DB
category. At least as far as i understand it, but perhaps the QA team
or someone else might give the final answer.
Thats what the manual says:
"The general syntax for package names is <Category>_<Name>. The value
for <Category> should be chosen from a predefined list of categories
that are available in PEAR (e.g. "HTTP", "Net", "HTML"). The second
part is the name of the package (like "Upload", "Portscan", "Table").
" [1]
But I wouldn't take it as a rule since many packages doesn't follow
it: MDB2, Calendar, AsteriskManager, FSM, Inline_C etc.
[1] http://pear.php.net/manual/en/developers.contributing.howto.php
Regards,
iGor.