Hi,
Thank you for the direction. Writing SQL driver class on the top of /libraries/dbi/*.dbi.lib.php will surely save a lot of time as the functions for general fethcing, and altering are already written there.
Code in tbl_replace.php has good examples that I can use for help.
Thanks!
-------------------------------------------------- Best regards, Zeeshan Mughal Email: zeeshanmughal@ieee.org Web: http://www.zixan.info
On Thu, Jun 4, 2009 at 7:28 PM, Marc Delisle marc@infomarc.info wrote:
Zeeshan blogged: http://zixan.info/2009/06/04/gsoc-week-two-progress/
Hi Zeeshan, please give more details about this. In phpMyAdmin we already have middleware for SQL access: the PMA_DBI_xxx() functions. Look for example in tbl_replace.php, we are using PMA_DBI_select_db(), PMA_DBI_query(), etc.
If you are writing a library to duplicate the work of these functions, I consider it a loss of time. The PMA_DBI_xxx() functions support the mysql and mysqli extensions already.
You can consult libraries/relation.lib.php for some functions that are already reading and writing in some tables of the pmadb.
Regards, Marc
OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel