[Phpmyadmin-devel] Merge of frames-removal branch

Dieter Adriaenssens dieter.adriaenssens at gmail.com
Fri Jun 15 15:54:56 CEST 2012


2012/6/14 Rouslan Placella <rouslan at placella.com>:
> On 13/06/12 20:06, Dieter Adriaenssens wrote:
>> Hi all,
>>
>> I merged some important changes to the master branch from the GSoC
>> project of Rouslan Placella, introducing a few new classes
>> (PMA_Response, PMA_Header, PMA_Footer, ..)  that will handle html and
>> ajax responses, buffering output and generating the header, footer,
>> body. More information on how this works and how this impacts your
>> code can be found in the wiki page that Rouslan created [0].
>>
>> Both Rouslan and me tested it and most bugs should be fixed now, but
>> don't hesitate to report any misbehaviour that might be related to the
>> introduction of these classes.
>>
>> @ all GSoC students, if you're not doing this regularly already, this
>> might be a good time to update your branch with the recent changes in
>> the master branch (i.e. do a 'merge master' in your branch)
>>
>> @ Rouslan:
>>
>> There were no issues during merging.
>> After I merged, I noticed that the 'git revision' section on the main
>> page is broken. Can you have look at it?
>
> Hi Dieter,
>
> Not sure what's wrong here, as it works just fine for me.

It seems to work, on the demo server and my dev-server at work.
Probably a temporary hickup on my box at home. :p
>
>> About your wiki page, apart from some typo's, it looks very good. You
>> explained very clearly what the different classes do and how to use
>> them.
>> I think it might be a good idea to stress that using the PMA_Response,
>> etc. classes is preferred and the old style is deprecated/strongly
>> discouraged.
>> It might be useful to add some examples when to use certain
>> functionality, like disabling headers/footers, ...
>
> OK, I added a few lines about this.
>
>> I noticed you removed some unit tests related to global methods that
>> were replaced by methods in your classes. Do you plan to reintroduce
>> them when you will write unit tests for your new classes?
>
> I dropped some test cases because they don't make sense any more.
> PMA_showHint() merely returns its input wrapped in a tag now, since the
> footnotes are gone. PMA_ajaxResponse() doesn't exists any more, but I
> will write some test cases to cover the PMA_Response class at a later
> time, as it provides the equivalent functionality.

OK, I just wanted to check that you had moving those tests planned
when implementing test for your new classes.

Kind regards,

Dieter

>
> Bye,
> Rouslan
>
>> [0] http://wiki.phpmyadmin.net/pma/Generating_pages_and_ajax_responses_in_pma4
>>
>> Kind regards,
>>
>> Dieter Adriaenssens
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel



-- 
Kind regards,

Dieter Adriaenssens




More information about the Developers mailing list