Re: What determines your use of the type of DB framework/abstract?

From: Date: Thu, 22 Sep 2011 20:32:10 +0000
Subject: Re: What determines your use of the type of DB framework/abstract?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-314997@lists.php.net to get a copy of this message
Jamie Krasnoo wrote:
My question isn't whether Doctrine is a part*of* that framework but rather on*what* and*when* it is appropriate to*use* or*substitute* something like Doctrine instead of using straight pdo or mysqli or the abstract that came with that particular framework. Substituting Doctrine or some other abstract could complicate a project rather than help.
Jamie The first question is probably "do you need cross database operation?" If the answer is no, then there is little point moving to an abstraction layer, you are better sticking with your database of choice ... If the requirement is to allow cross database working, then one needs to address the SQL as well as the simple data stuff which PDO attempt. I've been using ADOdb for a long time now and have also successfully moved projects TO that when wanting to allow them to work with my own preferred database. It successfully maps many SQL differences and tidies up those problems. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.general (#314997) next »