![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| The new PEAR package MDB2-2.4.1 (stable) has been released at http://pear.php.net/. Release notes ------------- - fixed bug #10407: propagate errors in MDB2_Statement_Common::execute() - fixed bug #10452: error in getDeclaration() with custom datatype_map and no datatype_map_callback function - fixed bug #10521: quote($val,'decimal') and quote($val,'float') pass unsafe characters - return length as "precision,scale" for NUMERIC and DECIMAL fields in mapNativeDatatype() - fixed bug #10537: safer check for valid MDB2 connection in singleton() [fornax] - fixed bug #10598: MDB2::singleton() not working in some rare conditions [fornax] - in getTableIndexDefinition() and getTableConstraintDefinition() in the Reverse module, also return the field position in the index/constraint - exec() now returns a reference instead of a copy to prevent memory leaks - request #10787: MDB2_Driver_Common::$phptype and $dbsyntax properties are now public open todo items: - handle autoincrement fields in alterTable() - add length handling to LOB reverse engineering - add EXPLAIN abstraction - add cursor support along the lines of PDO (Request #3660 etc.) - add PDO based drivers, especially a driver to support SQLite 3 (Request #6907) - add support to export/import in CSV format - add more functions to the Function module (MD5(), IFNULL(), LENGTH() etc.) - add support for database/table/row LOCKs - add support for FOREIGN KEYs and CHECK (ENUM as possible mysql fallback) constraints - generate STATUS file from test suite results and allow users to submit test results - add support for full text index creation and querying - add tests to check if the RDBMS specific handling with portability options disabled behaves as expected - handle implicit commits (like for DDL) in any affected driver (mysql, sqlite..) - add a getTableFieldsDefinitions() method to be used in tableInfo() - drop ILIKE from matchPattern() and instead add a second parameter to handle case sensitivity with arbitrary operators - add charset and collation support to field declaration in all drivers - handle LOBs in buffered result sets (Request #8793) Package Info ------------ PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure portability. MDB2 provides most of its many features optionally that can be used to construct portable SQL statements: * Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues * Portable error codes * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows * Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation * Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support * Pattern matching abstraction * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering) * Reverse engineering schemas from an existing database * SQL function call abstraction * Full integration into the PEAR Framework * PHPDoc API documentation Related Links ------------- Package home: http://pear.php.net/package/MDB2 Changelog: http://pear.php.net/package/MDB2/download/2.4.1 Download: http://download.pear.php.net/package/MDB2-2.4.1.tgz Authors ------- Lorenzo Alberton <l.alberton@quipo.it> (lead) Daniel Convissor (helper) David Coallier <davidc@agoraproduction.com> (helper) | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: announcement, mdb2241, released, stable |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ANNOUNCEMENT] MDB2_Driver_ibase-1.4.1 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 5:34 PM |
| [ANNOUNCEMENT] HTTP_Download-1.1.2 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 5:34 PM |
| [ANNOUNCEMENT] Text_CAPTCHA_Numeral-1.2.0 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 5:34 PM |
| [ANNOUNCEMENT] pearweb-1.14.0 (stable) Released. | PEAR Announce | Pear | 2 | 05-20-2007 5:34 PM |
| [ANNOUNCEMENT] HTML_Template_PHPLIB-1.3.2 (stable) Released. | PEAR Announce | Pear | 0 | 05-20-2007 5:34 PM |
| Featured Websites | ||||
|