Re: Newbie question

From: Date: Tue, 27 Feb 2001 23:53:40 +0000
Subject: Re: Newbie question
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5744@lists.php.net to get a copy of this message
It is slower. Maybe not REEAALLY slower if you don't have much traffic, but when it comes to kicks, you're losing quite some performance. I would suggest that you have a look at some of the DB abstraction layer classes available un phpclasses.upperdesign.com or at www.hotscripts.com; they could come in handy in making your scripts DB-independent (as far as it can go) and still not lose so much performance. I also did my own layer (very simple and easy to put to work, it will give you the idea) for ODBC and MySQL, that you could have if you like. Just say so. Regards, Gonzalo. > Hi, > I'm doing my first steps in PHP and I have my first simple question: > We use MySQL in our website and I saw that PHP has special functions for > MySQL. > Now, I'm starting a big project and I don't want it to be MySQL-dependant, > so I would like to access MySQL via MyODBC. > Is this ok? > Is there any drawback in doing this? > I guess it's slower, but... is it REAAALLY slower? > I want to do this, so PHP doesn't know what kind of database is reading, and > so, I can change my DBMS in the future without disturbing my code. > Thanks in advance > Ernesto

« previous php.windows (#5744) next »