Todo List

xpdo-pdo

PDO_::getAvailableDrivers()

  • Implement this as a dynamic list of available drivers.

PDO_

  • Implement additional driver support; currently only supports MySQL, PostgreSQL, and SQLite

PDO_::__construct()

  • Add charset support for sqlite and pgsql drivers.
  • Implement additional drivers.
  • Test sqlite and pgsql drivers.

xpdo

xPDO::getCriteria()

  • Define callback functions as an alternative to retreiving criteria sql and/or bindings from the metadata.
  • Move quotable operators to the db specific xPDOObject implementation.

xPDO::getPKType()

  • Refactor method to return array of types rather than compound!

xPDO::parseDSN()

  • Have this method handle all methods of DSN specification as handled by latest native PDO implementation.

xPDOCriteria::__construct()

  • Refactor this so you can get an xPDOCriteria instance without calling the prepare and bind methods explicitly. In this way, the criteria can be constructed without the database connection required. Without this, every request will require a database connection before even looking at the object/result set cache.

xpdo-cache

xPDOCacheManager::generateObject()

  • Document generateObject() and complete $generateRelated functionality.

xpdo-om-sqlite

xPDOManager_sqlite::createObjectContainer()

  • Add constraint support.
  • Add more robust index support.

xPDOObject_sqlite::set()

  • Define and implement field validation.
  • Handle all type conversions properly.

xPDOGenerator_sqlite::writeSchema()

  • Implement writeSchema() for reverse-engineering existing databases.

xpdo-om-mysql

xPDOManager_mysql::createObjectContainer()

  • Add constraint support.
  • Add more robust index support.

xPDOObject_mysql::set()

  • Define and implement field validation.
  • Handle all type conversions properly.

xpdo-om

xPDOQuery::command()

  • Implement support for other standard SQL statements such as UPDATE.

xPDOObject::set()

  • Define and implement field validation.
  • Handle all type conversions properly.

xpdo-transport

xPDOTransport

  • Implement a way to export/import a transport package.