PHP Data Objects – Die neue und einfache Datenbankschnittstelle

PHP Data Objects - Die neue und einfache Datenbankschnittstelle

PHP data Objects (PDO) bietet im Vergleich zu anderen Datenbankschnittstellen den Vorteil, dass eine Anwendung nicht für jede Datenbank umgeschrieben werden muss. Wichtige Features, wie Objekt-orientiertes Interface und Prepared Statements werden Ebenfalls unterstützt.

Die PDO Erweiterung ist seit Version 5.1 Bestandteil von PHP. "PHP Data Objects" übertrifft alle anderen Datenbankschnittstellen in PHP. Es ist objektorientiert aufgebaut. Um ein neues DBMS hinzuzufügen, muss nur der Treiber in PHP einkompiliert werden. Das wird zwar bei Sharedhosting-Angeboten scheitern, doch normalerweise wird PDO schon mit Support für MySQL angeboten und das reicht oft bereits aus. Ein weitere Vorteil von PDO im Vergleich zu ext/MySQL ist, dass PDO prepared Statements unterstützt und damit viele PHP Applikationen leicht sicher zu erstellen sind. PDO unterstützt auch Transaktionen für beispielsweise Oracle oder auch MySQL 5.

Lesen sie bei Dr. Web das ganze Tutorial: http://www.drweb.de/php/php-data-objects.shtml








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum