librelist archives

« back to archive

Adding PostgreSQL support

Adding PostgreSQL support

Loic d'Anterroches
2012-07-24 @ 13:42

just for information. I will be adding PostgreSQL support to Photon in
the \photon\db namespace.

The database support in Photon is limited to providing the database
connection handle. You do not get any ORM or things like that. The goal
is just to allow users to reuse the same handler accross applications.
It is up to you to then use the ORM you want (if you want one). For
example, you could use the Doctrine ORM.

I stopped using any kind of ORM since using MongoDB as main database and
conventional RDBMS for specific use (which means the ORM is more a pain
than a helper).

The support will land in the code within this week.