Oracle instead of MySQL
In out organization we are looking for a centralized password management and it seems that TeamPass fits almost perfectly. But the problem is that we are only allowed to use Oracle databases.
Is possible to switch from MySQL to Oracle? I think it must be easy if the project uses Doctrine or any other ORM. Does it? Otherwise, what would be the path to follow?
Thanks.
T oday even if a library is used, some external direct queries are performed. This make that it is not plug and play to move to Oracle.
The main next improvement for TP is that I started to migrate from MySQL to MySQLi. For this work, I've planned to clean up and centralize all query in a unique library. So I think that it will be easier to adapt TP for Oracle based on this next "TP MySQLi" release. My plan is to release it before end of this year .
N ote: I personnaly don't have any knowledge of Oracle. So I will not be able to do or test this change.
Hi,
Oh, that's a restriction for us :s
At the moment, are all queries in a single place, or easy to locate? Maybe we just could make a patch while you are implementing this feature.
Thanks for your eagerness!
I've taken a look to your work. It seems that you don't use any ORM or database related library (now I know a little what MySQLi is). I'm not into PHP, but I'd recommend you to think about using an ORM, for example http://www.doctrine-project.org/. It will help you a lot creating dynamic queries (no more string concatenation) and it will be database agnostic, so TeamPass could be used with a lot of RDBMS, only changing drivers.