Last week of Google Summer of Code 2012

This is my end of Google Summer of Code 2012. I spent 14 weeks for coding in the GSoC program. Last week was the final developing week in the program. There was only one remaining section for refactoring when start the last week which is table structure section. I started work on this section in week before last week. And I completed the section by implementing functions for this section, example functions,

  • PMA_getHtmlForMoreOptionInTableStructure()
  • PMA_getHtmlForActionRowlnStructureTable()
  • PMA_getHtmlForFulTextAction()
  • PMA_getHtmlForDistincValueAction()
  • PMA_getHtmlForActionsIntableStructure()
  • PMA_getHtmlForDisplayTableStats()
  • PMA_getHiddenTitlesArray()

After completing table structure section I moved to the bug fixing which are reported in mailing list regarding to latest refactorings (Structure section). After fixed those bugs I moved to old bugs in Sourceforge. But still I couldn’t complete all the bug fixing.

Today is the official dead line for coding and My plan is to work on these remaining bugs after official period of the GSoC. I think that is the goal of the Google Summer of Code program.  I have learnt lot of things by participating to this program. And this experience will help for my future career also.   My idea is  more contributing to Opensource  after the program, its not depend on whether I’ll pass or not in the final evaluation.


			

Thirteenth Week of GSoC

This is my end of 13th week of Google Summer of Code 2012. Last week I’ve started work on Structure section. There are two scripts to be done refactoring.  I started refactoring db_structure.php script and created a structure.lib.php in libraries/ directory for implement functions for this section. There was already a lib file for db structure which is called db_structure.lib.php and I removed that file and move all the functions to new lib file. And I did the refactoring for those functions also.

After refactoring the db_structure script I started working on tbl_structure section. But there are remaining bugs for db_structure.  tbl_strutcure script contains lot of duplicate HTML codes. I removed some duplicates and need to do more refactoring for this script. Following functions are example for refactoring of tbl_structure,

  • PMA_getHtmlDivsForStructureActionsDropdown()
  • PMA_getHtmlForRowStatstableRow()
  • getHtmlForRowStatsTable()
  • PMA_getHtmlForSpaceUsageTableRow()
  • PMA_getHtmlForOptimizeLink()
  • PMA_getHtmlForDisplayIndexes()
  • PMA_getHtmlForAddColumn()

Next week I complete the structure section. Then all the sections will complete according to my proposal. There are remaining bugs for these sections which are reported in Sourceforge. After completing structure section I’ll fix those bugs.