Accessing the database using JDatabase/ro: Difference between revisions

From Joomla! Documentation

Created page with "==Informații utile=="
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(22 intermediate revisions by 2 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>
==Informații utile==
==Informații utile==
Being able to use JDatabase is vital when you start developing for Joomla. The tutorial is split into two independent parts:
Este esențial să puteți folosi JDatabase când începeți să dezvoltați pentru Joomla. Tutorialul este împărțit în două părți independente:
* [[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|Inserarea, actualizarea și ștergerea datelor din baza de date]].
* [[S:MyLanguage/Selecting data using JDatabase|Selecting data from one or more tables]] and retrieving it in a variety of different forms.
* [[S:MyLanguage/Selecting data using JDatabase|Selectarea datelor dintr-unul sau mai multe tabele]] și preluarea acestora într-o varietate de forme.


==Advanced information==
==Informații avansate==
This tutorial looks at how to use transactions with JDatabase (available since {{JVer|3.x}} only):
Acest tutorial explică modul în care se pot folosi tranzacțiile cu JDatabase (disponibil doar începând cu versiunea {{JVer|3.x}}):
* [[S:MyLanguage/Using transactions in Joomla|Using transactions in Joomla]]
* [[S:MyLanguage/Using transactions in Joomla|Folosirea tranzacțiilor în Joomla]]
This tutorial looks at how to use the union methods in JDatabaseQuery (available in working form since {{JVer|3.3}} only):
Acest tutorial explică modul în care se pot folosi metodele de unificare în JDatabaseQuery (disponibil doar începând cu versiunea {{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|Folosirea metodelor de unificare în interogările bazei de date]]


==Supported Storage Connectors==
==Conectori de Stocare Acceptați==
The table below outlines the database and storage connectors available for Joomla! as well as which version of Joomla they became available in.
Tabelul de mai jos specifică conectorii bazei de date și de stocare disponibili pentru Joomla! cât și versiunea Joomla în care ei au devenit disponibili.


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).
Pentru a face un conector disponibil în instalarea Joomla sau în administrarea globală a configurației, este necesar să vă asigurați că librăria PHP este instalată (de ex. pentru PHP5 si MySQL ar trebui instalată librăria php5-mysql).


{| class="wikitable"
{| class="wikitable"
! scope="col" | Database
! scope="col" | Bază de date
! scope="col" | Joomla! Versions
! scope="col" | Versiuni 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}} || Da
|-
|-
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Da
|-
|-
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Da
|-
|-
| Postgresql || {{JVer|3.0}} || Yes
| Postgresql || {{JVer|3.0}}{{JVer|4.0}} || <div class="mw-translate-fuzzy">
Da
</div>
|-
|-
| Oracle DB || {{JVer|3.0}} || No
| Oracle DB || {{JVer|3.0}} || Nu
|-
|-
| SQL Lite || {{JVer|3.0}} || No
| SQL Lite || {{JVer|3.0}}{{JVer|4.0}} || Nu
|-
|-
| PHP Data Objects (PDO)* || {{JVer|3.0}} || No
| PHP Data Objects (PDO)* || {{JVer|3.0}}{{JVer|4.0}} || Nu
|}
|}


* PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.
* PHP Data Objects este un strat de abstractizare al bazei de date și este expediat cu 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

Informații utile

Este esențial să puteți folosi JDatabase când începeți să dezvoltați pentru Joomla. Tutorialul este împărțit în două părți independente:

Informații avansate

Acest tutorial explică modul în care se pot folosi tranzacțiile cu JDatabase (disponibil doar începând cu versiunea Joomla 3.x):

Acest tutorial explică modul în care se pot folosi metodele de unificare în JDatabaseQuery (disponibil doar începând cu versiunea Joomla 3.3):

Conectori de Stocare Acceptați

Tabelul de mai jos specifică conectorii bazei de date și de stocare disponibili pentru Joomla! cât și versiunea Joomla în care ei au devenit disponibili.

Pentru a face un conector disponibil în instalarea Joomla sau în administrarea globală a configurației, este necesar să vă asigurați că librăria PHP este instalată (de ex. pentru PHP5 si MySQL ar trebui instalată librăria php5-mysql).

Bază de date Versiuni Joomla! Joomla DB
MySQL Joomla 1.5Joomla 2.5Joomla 3.0Joomla 4.0 Da
Microsoft SQL Server Joomla 2.5Joomla 3.0 Da
Microsoft SQL Azure Joomla 2.5Joomla 3.0 Da
Postgresql Joomla 3.0Joomla 4.0

Da

Oracle DB Joomla 3.0 Nu
SQL Lite Joomla 3.0Joomla 4.0 Nu
PHP Data Objects (PDO)* Joomla 3.0Joomla 4.0 Nu
  • PHP Data Objects este un strat de abstractizare al bazei de date și este expediat cu PHP 5.1+.