[Phpmyadmin-devel] Gsoc 2012 - Refactoring Insert/edit, Operations, Privilege and Structure sections in phpMyAdmin

Marc Delisle marc at infomarc.info
Thu May 3 22:27:00 CEST 2012


Le 2012-05-03 12:13, Thilina Buddika Abeyrathna a écrit :
> On Thu, May 3, 2012 at 8:37 PM, Thilina Buddika Abeyrathna <
> thilinaabeyrathna at gmail.com> wrote:
> 
>>
>>
>> On Thu, May 3, 2012 at 8:35 PM, Marc Delisle <marc at infomarc.info> wrote:
>>
>>> Le 2012-05-03 10:56, Thilina Buddika Abeyrathna a écrit :
>>>> On Thu, May 3, 2012 at 8:23 PM, Marc Delisle <marc at infomarc.info>
>>> wrote:
>>>>
>>>>> Le 2012-05-03 10:03, Thilina Buddika Abeyrathna a écrit :
>>>>>> On Mon, Apr 30, 2012 at 8:54 PM, Marc Delisle <marc at infomarc.info>
>>>>> wrote:
>>>>>>
>>>>>>> Le 2012-04-30 11:16, Thilina Buddika Abeyrathna a écrit :
>>>>>>>> On Mon, Apr 30, 2012 at 8:42 PM, Marc Delisle <marc at infomarc.info>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Le 2012-04-30 10:54, Thilina Buddika Abeyrathna a écrit :
>>>>>>>>>> Hi Marc,
>>>>>>>>>> I'm trying to start refactoring for Insert/edit section. There are
>>>>> main
>>>>>>>>>> three scripts to refactor. But before that, I need your
>>> suggestion to
>>>>>>>>> start
>>>>>>>>>> coding.
>>>>>>>>>
>>>>>>>>> Hi Thilina,
>>>>>>>>> have you read and understood these three scripts?
>>>>>>>>>
>>>>>>>>> Not completely. I'm reading tbl_change.php script
>>>>>>>>
>>>>>>>>
>>>>>>>>> A good way of analysing is to use the NetBeans IDE (with PHP
>>> support)
>>>>> to
>>>>>>>>> follow the execution path and debug at the same time.
>>>>>>>>>
>>>>>>>>> I'm already using NetBeans IDE for my developing. :)
>>>>>>>
>>>>>>> Good! So, instead of reading the tbl_change.php script, load
>>> phpMyAdmin
>>>>>>> as a project in NetBeans, put a breakpoint at the beginning of
>>>>>>> tbl_change.php, start execution and watch what happens, line by line,
>>>>>>> when you try to display a row for editing in phpMyAdmin.
>>>>>>
>>>>>>
>>>>>> Hi Marc,
>>>>>> Do I need to configure NetBeans IDE with wamp server(I'm using wamp
>>>>> server)
>>>>>> to debug the project. I already installed xDebug for netbeans. When I
>>> try
>>>>>> to debug the project it shows nothing in the browser(server).
>>>>>
>>>>> Hi Thilina,
>>>>> I guess you meant that you have installed Xdebug in your WAMP server,
>>>>> not in NetBeans?
>>>>>
>>>>> Have you followed this? http://wiki.netbeans.org/HowToConfigureXDebug
>>>>>
>>>>> Yes Marc, I followed that article and I installed xDebug for WAMP.
>>>
>>> Well, please don't get stuck with this problem (for which remote help
>>> from me is difficult) but go on with your refactoring.
>>>
>>
>> Ok Marc,
>>
>> Hi Marc,
> Now I'm looking the code for refactoring and I identified some places which
> must need the refactoring. But I somewhat stuck with starting. Can you
> please suggest me a way or places to start.

Show us a small code segment which you plan to refactor, and your ideas
on what needs improvement.

I am your mentor but you are the one who is supposed to do the job...


-- 
Marc Delisle
http://infomarc.info

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120503/c5736f0b/attachment.sig>


More information about the Developers mailing list