[PEPr] Comment on Database::SimpleDAO
| From: | Huilen Abed Moure | Date: | Mon, 07 Apr 2008 02:33:59 +0000 |
| Subject: | [PEPr] Comment on Database::SimpleDAO | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49679@lists.php.net to get a copy of this message | ||
Huilen Abed Moure (http://pear.php.net/user/sherekan) has commented on the proposal for
Database::SimpleDAO.
Comment:
Thanks for the comments.
I did the following changes:
- I changed mysql_*() functions by PDO
- Added Prepared Statements (so no more problems with handling quoting)
- Changed the select() method. Now it accepts as arguments the fields to
select.
- Methods count() and exists() are more efficient now (the don't use
SELECT * any more).
I didn't review the PEAR Coding Standard yet. But I'll do it for
tomorrow.
Sorry for my english =P
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=547
--
Sent by PEPr, the automatic proposal system at http://pear.php.net