Downloadliste

Projektbeschreibung

Zebra_Database is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more powerful and intuitive to use than PHP’s default ones. It supports transactions and provides ways for caching query results either by saving cached data on the disk, or by using memcache.The class provides a comprehensive debugging interface with detailed information about the executed queries: execution time, returned/affected rows, excerpts of the found rows, error messages, etc. It also automatically EXPLAIN‘s each SELECT query (so you don’t miss those keys again). It encourages developers to write maintainable code and provides a better default security layer by automatically escaping strings. Zebra_Database‘s code is heavily commented and generates no warnings, errors, or notices when PHP’s error reporting level is set to E_ALL.

Systemanforderungen

Die Systemvoraussetzungen sind nicht definiert
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2012-01-08 09:34
2.7

Dieses Release fügt Unterstützung für das Zwischenspeichern Abfrageergebnisse mit Memcache, behebt einen Fehler der das Skript zum Absturz verursacht, wenn das Objekt mehr als einmal instanziiert wurde und die Sprache-Methode wurde für die einzelnen Instanzen aufgerufen, vollständig wird die Dlookup-Methode, die nicht richtig funktioniert, wenn etwas anderes als eine durch Kommas getrennte Liste der Spaltennamen (wie ein Ausdruck verwendet wurdezum Beispiel), und die "verbinden" Methode ein zusätzliches Argument anweisen es zum Herstellen einer Verbindung mit der Datenbank richtig Weg anstatt eine "faule" Verbindung nehmen können.
This release adds support for caching query results using memcache, fixes a bug which caused the script to crash if the object was instantiated more than once and the language method was called for each of the instances, completely rewrites the dlookup method, which was not working correctly if anything other than a comma-separated list of column names was used (like an expression, for example), and lets the "connect" method take an additional argument instructing it to connect to the database right away rather than using a "lazy" connection.

2011-09-04 16:36
2.6

Der Name des "get_columns"-Methode war es, "get_table_columns" geändert, da es die Anzahl der Spalten zurück in einer gegebenen Tabelle. Eine neue "get_columns" Methode wurde hinzugefügt, die als Argument einer Ressource und gibt die Anzahl der Spalten in der angegebenen Ressource. Einige Klarstellungen in der Dokumentation wurden auch gemacht.
The name of the "get_columns" method was changed to "get_table_columns", as it returned the number of columns in a given table. A new "get_columns" method was added, which takes as argument a resource and returns the number of columns in the given resource. Some clarifications in the documentation were also made.

2011-07-02 14:19
2.5

Dieser veröffentlichte eine "get_link" Methode, die die MySQL Verbindungs-Kennung der aktuellen Verbindung zum MySQL-Server verbunden kehrt aufgenommen. Dies ist notwendig, weil die Bibliothek nutzt "lazy-Verbindung", so gibt es keine Verbindungs-Kennung zur Verfügung beim Aufruf der Methode connect. Der Einsatz und insert_bulk Methoden haben ein neues Argument für die Erstellung von INSERT IGNORE-Abfragen, die Datensätze, die einen doppelten Eintrag für einen Primärschlüssel verursachen würde überspringen wird. Der Standardwert der "Debug"-Eigenschaft wurde auf FALSE gesetzt.
This released added a "get_link" method, which returns the MySQL link identifier associated with the current connection to the MySQL server. This is necessary because the library uses "lazy connection", so there is no link identifier available when calling the connect method. The insert and insert_bulk methods have a new argument for creating INSERT IGNORE queries which will skip records that would cause a duplicate entry for a primary key. The default value of the "debug" property was set to FALSE.

2011-06-20 16:07
2.4

Es wurde ein Bug in der insert_bulk Methode fixiert. Eine neue Methode hinzugefügt wurde, nannte table_exists, die prüft, ob eine Tabelle mit den Namen als Argument angegeben in der Datenbank vorhanden. Die Select-Methode akzeptiert nun auch zu begrenzen und um Argumente, aufgrund dieser Änderung ist diese Methode nicht kompatibel mit früheren Versionen. Einige Dokumentationen Verfeinerungen vorgenommen wurden.
A bug was fixed in the insert_bulk method. A new method was added, called table_exists, which checks to see if a table with the name given as argument exists in the database. The select method now also accepts limit and order arguments; due to this change, this method is not compatible with previous versions. Some documentation refinements were made.

2011-04-16 06:40
2.3

Es wurde ein Fehler behoben, bei dem das Skript eine Warnung generiert, wenn der Update-Methode mit ungültigen Argumenten aufgerufen wurde, und diese Release-Wechsel, wie die insert_bulk Methode muss Argumente erhalten, wodurch es leichter zu bedienen.
A bug was fixed where the script would generate a warning if the update method was called with invalid arguments, and this release changes how the insert_bulk method needs to receive arguments, making it easier to use.

Project Resources