Re: db_* => pg_*/my_*/ifx_* ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2008-09-30 19:58:03, schrieb Ashley Sheridan:
> Hi Michelle, I'm not sure exactly what it is you're after. Are you
> looking for software that will allow you to develop applications that
> are database agnostic?

What is "agnostic"?

If you mean "database independant", the answer is yes.

Most Applications do not need  complex  database  specific  queries  and
generaly I need only

db_connect($server, $port, $db, $user, $pass)
	1)  using pconnect if possibel
	2)  there are already significant differences
	    between pgsql and mysql
db_error()
	1)  Works different between pgsql and mysql and ifx

db_close($handle)
	1)  Works afaik with all databases the same way

db_getarray()	-> return array from SELECT
	1)  Hell of SELECT FROM WHERE...

db_insert($handle, $table, $what, $where)
db_update($handle, $table, $what, $where)
db_delete($handle, $table, $what, $where)
	1)  Sometimes heavy differences for ALL databases...


Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

<<attachment: signature.pgp>>


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux