[Owncloud] oracle support

Bart Visscher bartv at thisnet.nl
Fri Jul 27 19:54:19 UTC 2012


On Tue, Jul 24, 2012 at 12:06:17PM +0200, J??rn Friedrich Dreyer wrote:
> Yes, I will need to touch every query and we will have to add the
> practice to the coding guidelines. But at least developers do not
> need to learn a new way to interact with the database in ownCloud.
> 
> That would be the case for the DB back-end Diederik proposed. It
> hides the SQL and provides methods for CRUD operations. While I like
> the idea, writing this kind of backend requires a lot of time and
> might need a few iterations to become stable.

I was going to suggest using Doctrine as DB access layer, but but we
want to support non-PDO hosting providers. But if we are going to
rewrite all the queries how about implementing helper[1] functions.
Most of the queries fit in this schema, and the rest can still be done
with the current interface.


Bart

BTW. are there still hosting providers without PDO and PHP >= 5.3?

[1] http://doctrine-dbal.readthedocs.org/en/latest/reference/data-retrieval-and-manipulation.html#insert
[1] http://doctrine-dbal.readthedocs.org/en/latest/reference/data-retrieval-and-manipulation.html#update
[1] http://doctrine-dbal.readthedocs.org/en/latest/reference/data-retrieval-and-manipulation.html#delete



More information about the Owncloud mailing list