During the last week I refactored the structure.lib.php by creating the
StructureController. So far, the controller was created and the display_structure.inc.php remains being analysed.
Files Covered In This Week
Outcomes In This Week
Create the StructureController
First I created templates for the
PMA_getHtml series functions. After that, we decided to create a controller for the structure handle logics, therefore I created the
StructureController. Functions that involved in the strucuture.lib.php will be moved into the controller. Some functions still require
$table parameter at this moment since the controller is in its initial phase. I will update the PR with optimisations and removal of the redundant parameters.
Move some functions to PMA_Table
Some functions like
getRealRowCountTable should be categorised as the table related functions, so it should be moved into the
What Will I Do Next
First I will finish creating and testing the
StructureController, then I will start working on the Import/Export module.