Accessing the database using JDatabase/fr: Difference between revisions

From Joomla! Documentation

MATsxm (talk | contribs)
Created page with "Base de données"
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{review|}}
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
<noinclude>{{Joomla version|version=3.x}}{{Joomla version|version=2.5|status=eos}}</noinclude>
<noinclude>{{Joomla version|version=3.x}}{{Joomla version|version=2.5|status=eos}}</noinclude>
==Useful information==
==Informations utiles==
Being able to use JDatabase is vital when you start developing for Joomla. The tutorial is split into two independent parts:
Être capable d'utiliser JDatabase est essentiel lorsque vous commencez à développer pour Joomla. Le didacticiel sera divisé en deux parties indépendantes :
* [[S:MyLanguage/Inserting, Updating and Removing data using JDatabase|Inserting, updating and removing data from the database]].
* [[S:MyLanguage/Inserting, Updating and Removing data using JDatabase|Insertion, mise à jour et suppression de données de la base de données]].
* [[S:MyLanguage/Selecting data using JDatabase|Selecting data from one or more tables]] and retrieving it in a variety of different forms. Note: If you are looking for practical information about accessing the database in the old 1.5 document, you need to look at this part of the tutorial.
* [[S:MyLanguage/Selecting data using JDatabase|Sélectionner des données dans une ou plusieurs tables]] et les récupérer dans différents formats.


==Advanced information==
==Informations avancées==
This tutorial looks at how to use transactions with JDatabase (available since {{JVer|3.x}} only):
Ce didacticiel explique comment utiliser les transactions avec JDatabase (disponible depuis la version {{JVer|3.x}}) :
* [[S:MyLanguage/Using transactions in Joomla|Using transactions in Joomla]]
* [[S:MyLanguage/Using transactions in Joomla|Utilisation des transactions dans Joomla!]]
This tutorial looks at how to use the union methods in JDatabaseQuery (available in working form since {{JVer|3.3}} only):
Ce tutoriel explique comment utiliser les méthodes ''union'' avec JDatabaseQuery (disponible depuis les versions {{JVer|3.3}}) :
* [[S:MyLanguage/Using the union methods in database queries|Using the union methods in database queries]]
* [[S:MyLanguage/Using the union methods in database queries|Utilisation des méthodes Union dans les requêtes de base de données]]


==Supported Storage Connectors==
==Connecteurs de stockage pris en charge==
The table below outlines the database and storage connectors available for Joomla! as well as which version of Joomla they became available in.
Le tableau ci-dessous présente la base de données et les connecteurs de stockage disponibles pour Joomla! ainsi que la version de Joomla! pour laquelle ils sont disponibles.


To make a connector available in Joomla's installer or global configuration manager, you will need to ensure the PHP library is installed (E.g. for PHP5 and MySQL the php5-mysql library would need to be installed).
Pour rendre disponible un connecteur dans l’installation Joomla! ou la gestion de la configuration, vous devrez vous assurer que la bibliothèque PHP est installée (par exemple : pour PHP5 et MySQL, la bibliothèque php5-mysql devra être installée).


{| class="wikitable"
{| class="wikitable"
! scope="col" | Base de données  
! scope="col" | Base de données  
! scope="col" | Joomla! Versions
! scope="col" | Versions de Joomla!
! scope="col" | Joomla DB
! scope="col" | Joomla DB
|-
|-
| MySQL || {{JVer|1.5}}{{JVer|2.5}}{{JVer|3.0}} || Yes
| MySQL || {{JVer|1.5}}{{JVer|2.5}}{{JVer|3.0}}{{JVer|4.0}} || Oui
|-
|-
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Oui
|-
|-
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Oui
|-
|-
| Postgresql || {{JVer|3.0}} || Yes
| Postgresql || {{JVer|3.0}}{{JVer|4.0}} || Oui  (En {{JVer|4.0}} et plus seulement à travers la librairie PDO pour postgres)
|-
|-
| Oracle DB || {{JVer|3.0}} || No
| Oracle DB || {{JVer|3.0}} || Non
|-
|-
| SQL Lite || {{JVer|3.0}} || No
| SQL Lite || {{JVer|3.0}}{{JVer|4.0}} || Non
|-
|-
| PHP Data Objects (PDO)* || {{JVer|3.0}} || No
| PHP Data Objects (PDO)* || {{JVer|3.0}}{{JVer|4.0}} || Non
|}
|}


* PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.
* PHP Data Objects est une couche de base de données livrée avec PHP 5.1+.


<noinclude>[[Category:Database]]</noinclude>
<noinclude>
[[Category:Database{{#translation:}}]]
</noinclude>

Latest revision as of 08:56, 17 October 2020

This Article Needs Your Help

This article is tagged because it NEEDS REVIEW. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.


Joomla! 
3.x
Joomla! 
2.5

Informations utiles

Être capable d'utiliser JDatabase est essentiel lorsque vous commencez à développer pour Joomla. Le didacticiel sera divisé en deux parties indépendantes :

Informations avancées

Ce didacticiel explique comment utiliser les transactions avec JDatabase (disponible depuis la version Joomla 3.x) :

Ce tutoriel explique comment utiliser les méthodes union avec JDatabaseQuery (disponible depuis les versions Joomla 3.3) :

Connecteurs de stockage pris en charge

Le tableau ci-dessous présente la base de données et les connecteurs de stockage disponibles pour Joomla! ainsi que la version de Joomla! pour laquelle ils sont disponibles.

Pour rendre disponible un connecteur dans l’installation Joomla! ou la gestion de la configuration, vous devrez vous assurer que la bibliothèque PHP est installée (par exemple : pour PHP5 et MySQL, la bibliothèque php5-mysql devra être installée).

Base de données Versions de Joomla! Joomla DB
MySQL Joomla 1.5Joomla 2.5Joomla 3.0Joomla 4.0 Oui
Microsoft SQL Server Joomla 2.5Joomla 3.0 Oui
Microsoft SQL Azure Joomla 2.5Joomla 3.0 Oui
Postgresql Joomla 3.0Joomla 4.0 Oui (En Joomla 4.0 et plus seulement à travers la librairie PDO pour postgres)
Oracle DB Joomla 3.0 Non
SQL Lite Joomla 3.0Joomla 4.0 Non
PHP Data Objects (PDO)* Joomla 3.0Joomla 4.0 Non
  • PHP Data Objects est une couche de base de données livrée avec PHP 5.1+.