Hi
Dne Wed, 24 Mar 2010 11:33:08 +0530 Vipin Nair swvist@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:
- Code that deals with Database (Create, delete, alter)
- Code that Deals with Tables (Create, delete, alter)
- CRUD
- 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 together.
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 big enough.