Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: DB layer 2.0.

Development talk:DB layer 2.0: Difference between revisions

From MoodleDocs
No edit summary
 
Line 1: Line 1:
==== Various Notes (before 20080501) ====
==== Various Notes (before 20080501) ====


* AdoDB, AdoDB over PDO, PDO. (my initial to continue using underlying ADOdb).
* AdoDB, AdoDB over PDO, PDO. (my initial +1 to continue using underlying ADOdb).
* Placeholder types: :named or ? (will require PHP parsing under some DBs).
* Placeholder types: :named or ? (will require PHP parsing under some DBs).
* Multiple connections supported (auto-contained DB object).
* Multiple connections supported (auto-contained DB object).
Line 23: Line 23:




* Next meeting. TODO: document MMM20080501, AdoDb/PDO decission, Interface + PHP documentation + Docs documentation, define tests to perform.
* Next meeting. TODO: document MMM20080501, AdoDb/PDO decision, Interface + PHP documentation + Docs documentation, define tests to perform.


[[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 19:00, 29 April 2008 (CDT)
[[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 19:00, 29 April 2008 (CDT)
----
----

Revision as of 00:04, 30 April 2008

Various Notes (before 20080501)

  • AdoDB, AdoDB over PDO, PDO. (my initial +1 to continue using underlying ADOdb).
  • Placeholder types: :named or ? (will require PHP parsing under some DBs).
  • Multiple connections supported (auto-contained DB object).
  • PERF debugging available.
  • Logging available (to detect wrong uses).


  • Total breakage (all contrib uses)
  • Total breakage (current dmllib 1.0 functions definition).
  • Development mode (branch with radical replacement, some compatibility layer to minimize breakage - current dmllib instantiating new dmllib + stripping slashes ?)


  • Mahara experience.
  • Interface example.
  • dmllib 2.0 tests since the beginning.
  • dmllib 2.0 documentation since the beginning.
  • Classes implementation order (PG, MySQL, MSSQL, Oracle).


  • More ideas.


  • Next meeting. TODO: document MMM20080501, AdoDb/PDO decision, Interface + PHP documentation + Docs documentation, define tests to perform.

Eloy Lafuente (stronk7) 19:00, 29 April 2008 (CDT)