Recess Developer Forums: Is it interesting if Recess could support one of key-value DBs? - Recess Developer Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Is it interesting if Recess could support one of key-value DBs?

#1 User is offline   zdk Icon

  • Group: Members
  • Posts: 7
  • Joined: 29-August 09

Posted 15 September 2009 - 11:03 AM

Probably, CouchDB support by Recess model would be great.
0

#2 User is offline   KrisJordan Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 78
  • Joined: 25-August 09
  • LocationNorth Carolina, USA

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.
0

#3 User is offline   Jamie Rumbelow Icon

  • Group: Members
  • Posts: 10
  • Joined: 26-August 09
  • LocationCambridge, UK

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.
Jamie Rumbelow Designer / Developer / Writer / Speaker
http://jamierumbelow.net
0

#4 User is offline   zdk Icon

  • Group: Members
  • Posts: 7
  • Joined: 29-August 09

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.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users