[PEPr] Comment on Database::table_browser

From: Date: Thu, 28 Aug 2008 20:58:49 +0000
Subject: [PEPr] Comment on Database::table_browser
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50677@lists.php.net to get a copy of this message
Till Klampaeckel (http://pear.php.net/user/till) has commented on the proposal for Database::table_browser. Comment: Hey, a couple questions, ... 1) In general, how do you see this package versus DB_Table? 2) Being Mysql-only, what would it take you to e.g. port your code to a MDB2_Table class instead? The class could serve the same purpose, but be compatible with different DB backends, etc.. 3) If you don't like the idea of MDB2_Table, I'd still vote for a way to query different database backends (maybe through PDO). I'd also like to see an interface to inject a DB connection into your class vs. creating one "inside". Support for Mysqli wouldn't hurt either. Generally, I like your idea a lot, since (at least IMHO) it's a pain to write all those calls again and again e.g. when you are writing an frontend to a database for administrative work. Food for thought! Cheers, Till Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=570 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#50677) next »