php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28222 DBX module should be bundled
Submitted: 2004-04-29 22:07 UTC Modified: 2004-05-04 18:22 UTC
From: rycamor at brainscraps dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2004-04-29 22:07 UTC] rycamor at brainscraps dot com
Description:
------------
Please make the dbx database abstraction module part of the default PHP build. There are many library developers who would like to start using dbx, but they cannot, because they don't know if the user has built PHP with dbx.

I'm well aware that there are other abstraction libraries, but dbx is very simple, fast, and covers all standard interaction needs for a relational DBMS. Personally, I and many developers prefer it to the (overly) complex ones like PEAR:DB or ADODB.

I think it would be a great benefit to the PHP project if a simple, straightforward, universal database module can be used anywhere, and dbx gets my vote.

Thank you,

Rick Morris


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-29 22:34 UTC] amt@php.net
Thanks for the suggestion. We've actually decide to go 
with SQLite instead. See http://www.php.net/sqlite.
 [2004-04-29 23:21 UTC] rycamor at brainscraps dot com
Thanks, but I think I am being misunderstood here: SQLite is a stand-alone DBMS, which definitely has its place, but is not at all in the same problem domain as a database abstraction layer to allow unified methods for interacting with various server-based database systems. (http://php.net/dbx). My point is, at present PHP has no existing *built-in* standardization of database access. DBX is already available, it is a well-tested solution, and it is a very small addition to the standard PHP build, because it is really a thin layer over the existing database modules.

DBX has only a few functions, but these functions are all that is really needed for true relational DBMS interaction, because all serious logic should be handled on the database side. Also, by default DBX returns all results in object form, making it a natural for the strong OO capabilities of PHP5.

As a long-time user of PHP (since 1999), I strongly urge the PHP development team to consider this.
 [2004-05-03 09:09 UTC] mboeren@php.net
I've changed this from bogus=>open as amt misunderstood the feature request.
Feel free to close this with a valid reason (or actually bundle it, but then, I'm biased :)

BTW, the dbx version in cvs already contains support for SQLite.

 [2004-05-04 18:22 UTC] helly@php.net
Version 4.3 is a stable version where we do not do further featzre changes.

PHP 5.0 is in feature freeze mode too. But there is a new database abstraction extension in development. It may be ready for PHP 5.1. So please be patient.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC