Probably, CouchDB support by Recess model would be great.
Page 1 of 1
Is it interesting if Recess could support one of key-value DBs?
#2
Posted 16 September 2009 - 02:13 AM
This would be interesting. I'm afraid Recess' models would be hard to directly port to 'no-sql' databases because model's are built around SQL concepts.
Could see it being really, really cool if Recess' SQLBuilder could be transformed into a map/reduce view on a CouchDB doc store, but also a really, really hard problem to do generically (I'm not even sure joins would be possible from the little I've played with Couch).
Rather than trying to make Model fit Couch, I'd be interested in seeing what a useful layering/mapping above Couch would look like on its own.
Could see it being really, really cool if Recess' SQLBuilder could be transformed into a map/reduce view on a CouchDB doc store, but also a really, really hard problem to do generically (I'm not even sure joins would be possible from the little I've played with Couch).
Rather than trying to make Model fit Couch, I'd be interested in seeing what a useful layering/mapping above Couch would look like on its own.
#3
Posted 16 September 2009 - 02:14 AM
It would certainly be great, but the fundamental design differences between Recess' ORM and the Document-oriented Database Design are so, completely different that it would be a logistical nightmare to code something substantial, structurally sound and plain old functional to get the two to play nice. That said, I'm looking into extending Recess' lower levels and providing a drop-in alternative to Model (which I've cunningly named Document) which should be able to interact with CouchDB and Amazon's SimpleDB, among others.
That, however opens a whole new door to issues. Does PDO have good support for Document-oriented databases? Can the Recess database layer be used at all without PDO, and without some kind of relational structure in place? These are all questions that will need a lot of thought before we start even thinking about creating a DDB drop-in for Model.
That, however opens a whole new door to issues. Does PDO have good support for Document-oriented databases? Can the Recess database layer be used at all without PDO, and without some kind of relational structure in place? These are all questions that will need a lot of thought before we start even thinking about creating a DDB drop-in for Model.
Jamie Rumbelow Designer / Developer / Writer / Speaker
http://jamierumbelow.net
http://jamierumbelow.net
#4
Posted 07 October 2009 - 10:53 AM
Here is http://github.com/zdk/relax_travel a little app how to use CouchDB in Recess. Thanks.
Page 1 of 1

Sign In
Register
Help

MultiQuote