Zebra_Database是一个高级,紧凑(只有一个文件),轻量级,面向对象的MySQL数据库操作封装。基于PHP的MySQL扩展。它提供">访问数据库的方法比PHP默认更加简单和直观。此外,它还提供调试控制台来查看SQL的执行情况。
Zebra_Database it 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 intuitive and fun to use than PHP’s default ones.
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 version 2.3更新日志:
·fixed a bug where the script would generate a warning if the “update” method was called with invalid arguments;
·changed how the insert_bulk method needs to receive arguments, making it more simple to use
下载地址:http://stefangabos.ro/wp-content/uploads/php-libraries/zebra_database.2.3.zip