Ferreteria/v2/usage/db/v1

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v2‎ | usage‎ | db
Jump to: navigation, search

About

The division of duties between the different class-families was rather muddled. When PHP deprecated the default MySQL library, it seemed easier to rewrite the whole structure from the ground up than to try to figure out how to work in support for the MySQLi library.

Files

Classes

database connections & results

  • clsDatabase_abstract (abs: db/data.php)
    • clsDatabase (extends clsDatabase_abstract): this is actually specific to a particular library for MySQL, so it should probably be renamed

to reflect that.

  • clsDataEngine (abs: db/data.php)
    • clsDataEngine_CliSrv (abs; extends clsDataEngine): client-server database engine
      • clsDataEngine_MySQL (extends clsDataEngine_CliSrv): MySQL database engine using deprecated mysql library
      • clsDataEngine_MySQLi (abs; extends clsDataEngine_CliSrv): MySQL database engine using MySQLi library
      • clsDataEngine_DBX (abs; extends clsDataEngine_CliSrv): MySQL database engine using dbx library
  • clsDataResult (abs: db/data.php)
    • clsDataResult_MySQL (extends clsDataResult): MySQL data result

helpers