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
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
Hi
Dne Fri, 5 Jun 2009 01:38:12 -0400 Zeeshan Mughal zeeshan.jp@gmail.com napsal(a):
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.
Do you really need another wrapping class? It might be worth converting /libraries/dbi/*.dbi.lib.php to proper classes, but please do not add another layer of abstraction.
Michal Čihař a écrit :
Hi
Dne Fri, 5 Jun 2009 01:38:12 -0400 Zeeshan Mughal zeeshan.jp@gmail.com napsal(a):
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.
Do you really need another wrapping class? It might be worth converting /libraries/dbi/*.dbi.lib.php to proper classes, but please do not add another layer of abstraction.
I hope that Zeeshan did not mean a new wrapping class but just functions (classes, whatever) to handle getting and setting a preference. Maybe Zeeshan can clarify.
Marc
My class only fetches and alters data. Functions to set connections, and select db etc are imported from /libraries/dbi/*.dbi.lib.php. -------------------------------------------------- Best regards, Zeeshan Mughal Email: zeeshanmughal@ieee.org Web: http://www.zixan.info
On Mon, Jun 8, 2009 at 11:14 AM, Marc Delisle marc@infomarc.info wrote:
Michal Čihař a écrit :
Hi
Dne Fri, 5 Jun 2009 01:38:12 -0400 Zeeshan Mughal zeeshan.jp@gmail.com napsal(a):
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.
Do you really need another wrapping class? It might be worth converting /libraries/dbi/*.dbi.lib.php to proper classes, but please do not add another layer of abstraction.
I hope that Zeeshan did not mean a new wrapping class but just functions (classes, whatever) to handle getting and setting a preference. Maybe Zeeshan can clarify.
Marc
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Hello, I need to unsubscribe from this newsletter how to do that
Thanks in advance Ahmad M.Hassan Techincal Support ITQaan for Integrated E-Business Solutions. ------------------------------------------------------------------- Web design, Web Solutions Development,MS Sharepoint Development and Hosting Integrated Hosting Solutions, Systems Integrations
Media Service Experts and ITIL Consultation. Address :32 tiba street from makkah street (rear of Nadi elsaid) Mohandssen ,Giza Tel-Fax : 202-33354975 , 202-33354973 ,202-33355465 Mobile : +20114999003 Email : support@itqaan.com Website: www.itqaan.com
-----Original Message----- From: Michal Čihař [mailto:michal@cihar.com] Sent: Monday, June 08, 2009 6:09 PM To: phpmyadmin-devel@lists.sourceforge.net Cc: phpmyadmin-devel@lists.sourceforge.net Subject: Re: [Phpmyadmin-devel] SQL driver class?
Hi
Dne Fri, 5 Jun 2009 01:38:12 -0400 Zeeshan Mughal zeeshan.jp@gmail.com napsal(a):
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.
Do you really need another wrapping class? It might be worth converting /libraries/dbi/*.dbi.lib.php to proper classes, but please do not add another layer of abstraction.
Hello, the full headers of messages sent by this list tell you to send this mail:
phpmyadmin-devel-request@lists.sourceforge.net?subject=unsubscribe
Regards, Marc Delisle
Ahmed a écrit :
Hello, I need to unsubscribe from this newsletter how to do that
Thanks in advance Ahmad M.Hassan Techincal Support ITQaan for Integrated E-Business Solutions.
Web design, Web Solutions Development,MS Sharepoint Development and Hosting Integrated Hosting Solutions, Systems Integrations
Media Service Experts and ITIL Consultation. Address :32 tiba street from makkah street (rear of Nadi elsaid) Mohandssen ,Giza Tel-Fax : 202-33354975 , 202-33354973 ,202-33355465 Mobile : +20114999003 Email : support@itqaan.com Website: www.itqaan.com
-----Original Message----- From: Michal Čihař [mailto:michal@cihar.com] Sent: Monday, June 08, 2009 6:09 PM To: phpmyadmin-devel@lists.sourceforge.net Cc: phpmyadmin-devel@lists.sourceforge.net Subject: Re: [Phpmyadmin-devel] SQL driver class?
Hi
Dne Fri, 5 Jun 2009 01:38:12 -0400 Zeeshan Mughal zeeshan.jp@gmail.com napsal(a):
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.
Do you really need another wrapping class? It might be worth converting /libraries/dbi/*.dbi.lib.php to proper classes, but please do not add another layer of abstraction.