MODx Bug/Feature Tracker and Feature Requests
Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!
FS#301 — Make all db calls go through DBAPI
Attached to Project —
MODx
Opened by Ron Chan (rchan) - Sunday, 12 March 2006, 03:39PM
Last edited by Jason Coward (opengeek) - Saturday, 30 December 2006, 03:27PM
Opened by Ron Chan (rchan) - Sunday, 12 March 2006, 03:39PM
Last edited by Jason Coward (opengeek) - Saturday, 30 December 2006, 03:27PM
| Task Type | Feature Request |
|---|---|
| Category | Core Distribution |
| Status | Implementing |
| Assigned To |
Jason Coward (opengeek) |
| Operating System | All |
| Severity | Medium |
|---|---|
| Priority | Normal |
| Reported Version | 0.9.1 |
| Due in Version | 0.9.7 |
| Due Date | Undecided |
| Percent Complete |
|
Details
Refactor legacy calls to deprecated Etomite db functions and direct calls to mysql_ php functions to use DBAPI.As well as cleaning up code will also make it easier to use mysql replication for scale out architecture. ie read/search to slave db and insert/update/delete to master db.
This task depends upon
This task blocks these from closing
- Field changed: Status (New → Implementing)
- Field changed: Percent Complete (0% → 10%)
- Task assigned to Jason Coward (opengeek)
This will be accomplished using the new 0.9.7 core built on top of xPDO. xPDO uses the new standard for PHP database access, PDO, and provides a subset of emulated PDO features to platforms without PDO (pre PHP 5.1+).Once all calls start going through the new core API, we will also be making optimized ports available for other db platforms with PDO drivers.