Zugriff auf die Datenbank mit JDatabase

From Joomla! Documentation

Revision as of 11:09, 24 October 2015 by Joomla-agency (talk | contribs) (Created page with "Um einen Datenbanktyp während der Joomla Installation oder dem globalen Konfigurations Manager verfügbar zu machen, musst du sicherstellen das die PHP Bibliothek installiert...")
Joomla! 
3.x
Joomla! 
2.5

Nützliche Informationen

Die JDatabase-Klasse ist wichtig, wenn Sie mit der Entwicklung für Joomla beginnen . Das Tutorial ist aufgeteilt in zwei separate Teile:

Erweiterte Informationen

Dieses Tutorial befasst sich mit den Transaktionen mit JDatabase (verfügbar seit Joomla 3.x):

Dieses tutorial befasst sich mit Verwendung von union Methoden in JDatabaseQuery (verfügbar seit Joomla 3.3):

Unterstützten Datenbanktypen

Die Tabelle unten beschreibt die nutzbaren Datenbanktypen für Joomla! welche Version von Joomla Sie verfügbar wurde.

Um einen Datenbanktyp während der Joomla Installation oder dem globalen Konfigurations Manager verfügbar zu machen, musst du sicherstellen das die PHP Bibliothek installiert ist (z.B. für PHP5 und MySQL muss die php5-mysql Bibliothek installiert werden).

Database Joomla! Versions Joomla DB
MySQL Joomla 1.5Joomla 2.5Joomla 3.0 Yes
Microsoft SQL Server Joomla 2.5Joomla 3.0 Yes
Microsoft SQL Azure Joomla 2.5Joomla 3.0 Yes
Postgresql Joomla 3.0 Yes
Oracle DB Joomla 3.0 No
SQL Lite Joomla 3.0 No
PHP Data Objects (PDO)* Joomla 3.0 No
  • PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.