Download List

Projeto Descrição

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.

System Requirements

System requirement is not defined
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 Back to release list
2.7

Esta versão adiciona suporte para armazenar em cache os resultados de consulta usando memcache, corrige um bug que causou o script falha se o objeto foi instanciado mais de uma vez e o método de idioma foi chamado para cada uma das instâncias, reescreve completamente o método dlookup, que não estava funcionando corretamente se outra coisa senão uma lista separada por vírgulas de nomes de coluna foi usada (como uma expressãopor exemplo) e permite que o método "conectar" tomar um argumento adicional instruindo-lo para se conectar ao banco de dados certa distância em vez de usar uma conexão "preguiçosa".
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.

Project Resources