Page 2 of 2
Posted: Fri Jun 22, 2007 4:50 am
by volka
You might want to take it even further ....to pdo
http://de2.php.net/pdo
Posted: Fri Jun 22, 2007 4:58 am
by staar2
Posted: Fri Jun 22, 2007 5:08 am
by volka
In certain aspects, yes.
Posted: Fri Jun 22, 2007 11:12 am
by RobertGonzalez
In other aspects, not necessarily.
If you are used to the mysql_* family of functions then the MySQLi functions will come very natural to you. PDO introduces a new set of standard DB interaction functions that are nice once you learn them, but do take a little getting used to.
Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
Posted: Fri Jun 22, 2007 11:19 am
by volka
Everah wrote:Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
And that's unfortunately the big stopper

I was already suprised by
staar2 wrote:oh k i found that mysqli is installed to my server so i can use that. It should be better then mysql right ?

Posted: Fri Jun 22, 2007 11:21 am
by volka
volka wrote:Everah wrote:Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
And that's unfortunately the big stopper

I was already suprised by
staar2 wrote:oh k i found that mysqli is installed to my server so i can use that. It should be better then mysql right ?

Posted: Fri Jun 22, 2007 11:21 am
by RobertGonzalez
Getting the PDO drivers to work correctly is the one thing stopping me from using it exclusively. I can make it work with MySQL/PostgreSQL, but trying to get it to work right with Sybase/MS SQL is a pain in the butt that I cannot take the time to try to fix. It is just plain easier to use ADODBlite or some other DBAL.
I do toy with PDO when I make my own local apps though. It is a neat extension.
Posted: Fri Jun 22, 2007 1:59 pm
by staar2
I think i'm going to use mysqli, most of the functions are same like in mysql, but i like OO support. PDO is to great but i think in Estonia most servers dosen't have it installed.