
8 Jun
2009
8 Jun
'09
5:14 p.m.
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