[PEPr] Comment on Database::DB_Model
| From: | PEPr | Date: | Thu, 08 Jul 2004 13:27:58 +0000 |
| Subject: | [PEPr] Comment on Database::DB_Model | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-31748@lists.php.net to get a copy of this message | ||
Hans Lellelid (http://pear.php.net/user/hlellelid) has commented on the proposal for
Database::DB_Model.
Comment:
The SQL Writer looks very MySQL specific ("IF EXISTS", "AUTO_INCREMENT", etc.).
Do you plan to subclass for each of the supported databases.
As for the "template-driven SQL generation" note in your class, it's already been
done; steal it: http://propel.tigris.org/source/browse/propel/propel-generator/templates/sql/base/
(Of course, if you do, change your license to LGPL.)
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=102
--
Sent by PEPr, the automatic proposal system at http://pear.php.net