[Phpmyadmin-devel] about refactoring the SQL executor

Hi Supun, I was reading again your proposal. About sql.php, you mention "It needs refactoring and better integration with other scripts calling it." In your suggestions for implementing this, you mention moving code from sql.php to functions in sql.lib.php, functions that will be called from sql.php. However, for "better integration with other scripts calling it", what do you have in mind? A number of scripts are doing include or include_once of sql.php, so I assume that instead of this, these other scripts will be calling a function located in sql.lib.php? -- Marc Delisle http://infomarc.info

On Sat, Jun 15, 2013 at 9:31 PM, Marc Delisle <marc@infomarc.info> wrote:
Hi Supun,
I was reading again your proposal. About sql.php, you mention "It needs refactoring and better integration with other scripts calling it." In your suggestions for implementing this, you mention moving code from sql.php to functions in sql.lib.php, functions that will be called from sql.php.
However, for "better integration with other scripts calling it", what do you have in mind? A number of scripts are doing include or include_once of sql.php, so I assume that instead of this, these other scripts will be calling a function located in sql.lib.php?
I agree with you Marc. But still I don't have any clue of how to do it. I will investigate about that.
-- Marc Delisle http://infomarc.info
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Thank you Supun Nakandala Dept. Computer Science and Engineering University of Moratuwa
participants (2)
-
Marc Delisle
-
Supun Nakandala