[Phpmyadmin-devel] OOP Restructuring of PMA - One hell of of an Idea!!
michal at cihar.com
Fri Mar 26 00:12:45 CET 2010
Dne Wed, 24 Mar 2010 11:33:08 +0530
Vipin Nair <swvist at gmail.com> napsal(a):
> Hello guys,
> I have an idea for OO restructuring of PMA. I think converting the code to
> OO will help developers deal with PMA better. The PMA can be divided into
> four different subparts.
> They are:
> 1) Code that deals with Database (Create, delete, alter)
> 2) Code that Deals with Tables (Create, delete, alter)
> 3) CRUD
> 4) Others (User management, sync, etc)
The Others part here is huge.
> The above four sub-parts work together to do what PMA does, but they can
> also be treated independently. What i am suggesting is that the above four
> subparts can be converted into 4 different core classes and they can work
You need more classes as there is too much functionality and the
classes would become too big. For example check existing Table class,
which really does cover only static methods right now and is already
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Developers