Hi
Dne Wed, 23 Mar 2011 19:47:59 +0530
Dhruv Baldawa <dhruvbaldawa(a)gmail.com> napsal(a):
I have been using phpmyadmin, since I have been using
MySQL. I have always
been tweaking and editing it for personalizations and customizations. One
thing I think it is badly lacking is *MVC (Model - View - Controller)
Architecture.*
Better than porting it OOP, it is better to convert into an MVC
Architecture. The reasons why I support MVC Architecture is :
1. Scalabality
2. Code Reuse
3. Integration of various libraries
4. Same application logic can generate various views, i.e., it can be
used to generate UI for mobile or for touch-enabled devices
Indeed it might be better, but it is quite enormous project and
definitely not doable during GSoC. Given current amount of active
developers, some such massive rewrite is out of scope.
Also,* a good abstraction layer for various other
DBMS,* and hence can be
extended to other RDBMS.
There is basic abstraction in phpMyAdmin, however many features are so
bound to MySQL, that it will be hard to separate. However there is
Drizzle project for GSoC, which might actually explore this area.
Rather than concentrating into converting the codebase
into OOP, it should
rather be organized into and *MVC architecture.*
I think that converting to real MVC will be much easier once we have
functional blocks separated from the html, what is basically the idea
behind OOP.
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com