Edouard SWIAC a écrit :
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.
Edouard,
I don't get your point. You want phpMyAdmin to require PDO support in
order to work?
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.
I prefer not to tell in public my opinion about going MVC for phpMyAdmin.
Regards, Edouard
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval Try the new software tools
for yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance. See why Intel Parallel Studio
got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Phpmyadmin-devel
mailing list Phpmyadmin-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
--
Marc Delisle
http://infomarc.info