From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-January/010964.html | 118 ++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-January/010964.html (limited to 'zarb-ml/mageia-dev/2012-January/010964.html') diff --git a/zarb-ml/mageia-dev/2012-January/010964.html b/zarb-ml/mageia-dev/2012-January/010964.html new file mode 100644 index 000000000..ce1bf70b8 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-January/010964.html @@ -0,0 +1,118 @@ + + + + [Mageia-dev] Adding additional provides to php database modules + + + + + + + + + +

[Mageia-dev] Adding additional provides to php database modules

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Wed Jan 4 21:12:09 CET 2012 +

+
+ +
Le 04/01/2012 20:08, Oliver Burger a écrit :
+>> The only problem here is that, pdo aside, there is no unified database
+>> interface in php. Some applications may have explicit support for some
+>> databases, this doesn't mean they have generic support for any database.
+>> You're likely to quickly run into applications able to work with mysql,
+>> postgresql or sqlite, and those able to work with just mysql or
+>> postgresql. In theory, you'll end up with as much virtual package as
+>> potential combination.
+> I see the problem. So it would be actually better for each application like
+> drupal and mediawiki to have its own virtual provides for the database
+> packages (like drupal already does).
+<pedantism>
+"virtual provides" doesn't means anything, because there isn't any 
+"physical provides". You're speaking of a virtual package here.
+</pedantism>
+
+I just had a look at the solution implemented in drupal package. The 
+drupal-mysql and drupal-postgresql packages seems wrong, because they 
+enforces a dependency against a local database, whereas it should only 
+requires the correct pdo package. This small issue aside, the whole idea 
+seems quite overkill for me: it is really useful to add 3 empty packages 
+just to handle this interactively, whereas documenting the issue would 
+be as much efficient ?
+
+BTW, the PDO case is precisely the one for which the package-specific 
+solution is not needed: any PDO compliant database should work, as PDO 
+is an abstraction layer :)
+-- 
+BOFH excuse #295:
+
+The Token fell out of the ring. Call us when you find it.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1