Blame | Letzte Änderung | Log anzeigen | RSS feed
$Id: TODO,v 1.6.2.2 2005/11/26 21:29:31 wez Exp $Roadmap for PDOCore, version 1.1:==================- Add PDO::queryParams(), similar to PDO::query(), but acceptsan array of parameters as the second argument, pushing the remainingargs (which are args to setFetchMode()) up by one.- Separate the handle factory call into two phases:- handle creation- connectingThis would then allow PDO to call setAttribute()for each driver option specified in the constructor.Right now, the handling of driver attributes is a bit sloppy.- Add:pdo.max_persistentpdo.persistent_timeoutpdo.ping_intervalwith the same meanings as those options from oci8.- BLOB/CLOB.Investigate the various APIs to determine if we cantransparently map BLOBs and CLOBs as PDO_PARAM_LOB.If the API needs hints from the client side, we needto introduce a PDO_PARAM_CLOB to differentiate betweenbinary and character data.- Character set selection.Generalize/standardize this.- meta data.Formalize getColumnMeta().Look at retrieving lists of tables and other objects in the db.- tracing/logging/debuggingAdd ini options:pdo.trace_filepdo.enable_tracingAnd corresponding attributes, ATTR_TRACE_FILE, ATTR_TRACING_ENABLE,settable at dbh and stmt levels independently. If set at the dbh level,the stmt will inherit its value. If not set explicitly in code, thedefaults for the dbh will come from the INI settings.ATTR_TRACE_FILE will accept a string or a stream.The INI options are useful for administrative tracing/debugging.Trace mode will output very verbose info.General DB API Roundup:=========Consider how the following can be implemented in PDO:mysqli_change_user(); alters auth credentials on a live connectionmysqli_info(); info about rows affected by last querymysqli_master_query(); force query to run on mastermysqli_ping(); ping / reconnectmysqli_stat(); one line summary of server statusoci_password_change()Also consider master/slave and/or failover server configuration.Postgres:=========- Real large object support.- Someone with more pgsql experience can suggest more featuresOracle:=======- Support for array types and collections.Userspace PDO Driver:=====================- Will be hard.PDO Session module:===================- Is it worth writing in C?Probably not.vim:se et ts=2 sw=2 tw=78: