[Phpmyadmin-devel] [GSoC] OO PMA project proposals

Edouard SWIAC edouard.swiac at gmail.com
Sat Mar 13 13:18:28 CET 2010

Thanks for your observations Marc.

> About PDO, the last time I had a look at it, there were no practical 
> reasons to support it.

I think there is at least one major reason to support it (PHP version independently). Since PMA accepts two data access interface ,mysql_* and mysqli_*, using PDO would avoid maintaining these 2 interfaces in adapters functions (such as PMA_DBI_fetch_row ...). Moreover, mysql_* and mysqli_* API are so nearly identical, that almost the same code is written twice. As you know PDO handles these two drivers natively, lowering the burden of code to write and maintain. 

Coming back to architecture, templating (currently is active discussion) is a good way to go towards MVC. What do you think about it ? From what I see in PMA source code, some parts are developed with classes (Confirm, Error, File ...), so the project may consists in pursuing this objective, in order to smoothly convert the procedural code base into an oriented one.


More information about the Developers mailing list