I want to use Cassandra with Symfony. It is my first time using both technologies. I have conducted a lot of research into what has already been done, and it seems like there is no support for Cassandra from within Symfony (which uses Doctrine ORM). How difficult would it be for me to extend Doctrine to include support for Cassandra? What would be the best, cleanest, and most upgradable way to include this functionality?
Share
There is a PDO driver for Cassandra’s CQL:
http://code.google.com/a/apache-extras.org/p/cassandra-pdo/
And as the Doctrine’s DBAL is built ontop of PDO, I think it’s possible to get at least partial functionality working.
Of course things like joins, indexes and entity relations are to be created manually and used with Cassandra’s internal structure knowledge in mind.
Being a developer from Java world, I can say that there are Java ORM libraries for Cassandra with almost everything you have in your RDBMS working. So I guess it’s possible after all.