ダウンロードリスト

プロジェクト概要

Zebra_Database は高度なコンパクト (1 つのファイルのみ)、軽量、オブジェクト指向 MySQL データベース ラッパー PHP の MySQL 拡張モジュールの上に構築されました。それより強力で直感的に使用 PHP のものをデフォルトよりも MySQL データベースと対話するためのメソッドを提供します。それはトランザクションをサポートして、ディスク上のキャッシュ データを保存またはオプションで、memcache を使用してクエリ結果をキャッシュするための方法を提供します。クラスは、実行されたクエリについての詳細を包括的なデバッグ用のインターフェイスを提供します: 実行時間、返される/影響を受ける行など、エラー メッセージ、見つかった行の抜粋。それも自動的に説明の各選択クエリ (つまりこれらのキーをもう一度見逃すことはありません)。保守しやすいコードを記述する開発者を奨励し、自動的に文字列をエスケープするより良いデフォルトのセキュリティ レイヤーを提供します。Zebra_Database のコードは頻繁にコメントを生成しない、警告、エラー、または通知 e_all に対応する PHP のエラー レポートのレベルが設定されている場合。

システム要件

システム要件が設定されていません
プロジェクトのリリース情報やプロジェクトリソースの情報です。
注: プロジェクトリソースの情報は Freecode.com ページからの引用です。ダウンロードそのものは、OSDNにホスティングされているものではありません。

2012-01-08 09:34
2.7

このリリースで memcache を使用してクエリ結果をキャッシュするためのサポートを追加は、オブジェクトが複数回インスタンス化された、言語のメソッド インスタンスごとと呼ばれていた完全にコンマ区切りのリストの列名以外の何か (のような式を使用した場合、正しく機能しない、dlookup メソッドを書き換える場合、スクリプトがクラッシュする原因となったバグを修正、たとえば)、データベースに接続するように指示する追加の引数を「遅延」の接続距離を使用してよりもむしろ取る「接続」の方法することができます。
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

それは与えられたテーブル内の列の番号を返したように"get_columns"メソッドの名前は、"get_table_columns"に変更されました。新しい"get_columns"メソッドは、引数としてリソースを取得し、特定のリソースの列数を返す、追加されました。ドキュメント内の幾つかの解明もなされた。
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

リリースこれはMySQLサーバへの現在の接続に関連付けられているMySQLリンクIDを返す"get_link"メソッドを追加しました。 connectメソッドを呼び出すときに、ライブラリが"レイジー接続"を使用するため、利用可能なリンクIDが存在しないため、この処理が必要になります。インサートとinsert_bulkメソッドは、主キーに重複したエントリの原因となるレコードをスキップする問合せを、INSERT IGNORE作成するための新しい引数を持っている。 "デバッグ"プロパティのデフォルト値はFALSEに設定されていました。
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

バグがinsert_bulkの方法で修正されました。新しいメソッドは、引数として指定された名前のテーブルがデータベース内に存在するかどうかをチェックする、table_existsと呼ばれる、追加されました。 selectメソッドは、現在も限界と順番の引数を受け取ります。この変更に伴い、このメソッドは、以前のバージョンと互換性がありません。いくつかのドキュメントの修正が行われました。
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

バグを報告し、更新方法は、無効な引数で呼び出された場合、スクリプトは警告を生成する問題は修正された方法insert_bulkメソッドは、引数を受け取る必要がありますが、このリリースでの変更は、それが使いやすくなっています。
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.

プロジェクトリソース