[Phpmyadmin-devel] GSoC: Refactoring Table search, Db search, Multi-table query

Marc Delisle marc at infomarc.info
Tue May 8 11:54:47 CEST 2012

Le 2012-05-08 02:44, Atul Pratap Singh a écrit :
> So, to move HTML to lib/include files, slicing proper reusable HTML blocks
> from the script should be done, followed by moving it to a lib/include
> file, and then calling the include file at proper places. Is this the way,
> I should proceed ?

Hi Atul,
it depends: do you plan to create a class for this, or use global

For an example using a class, look at libraries/Menu.class.php. The
_getBreadcrumbs() function returns some HTML and is called afterwards
with an "echo".

You should have just one library file that will contain all your
refactored functions for tbl_select.php.

Marc Delisle

More information about the Developers mailing list