CouchDB / NoSQL and Domain Driven Design?

1.9k Views Asked by At

Doing some research in getting ramped up for a CouchApp project.

I understand the concept of a Document Data Store vs a regular RDBMS. And I can totally grasp modeling documents and views instead of using WHERE and JOIN statements. But I haven't been able to find many resources on how to model documents, views, and design docs with Domain Driven Design (DDD) in mind.

Examples:

  • DDD no-no's in the CouchDB world (eg. GetObjectAFor(id, ... some other int, string, ObjectB, foobar) == BOOM )
  • When DDD starts indicating you should be using SQL instead
  • DDD considerations for CouchDB heavy lifting and potential bottle necks (view modeling, compacting, replication, etc.)
1

There are 1 best solutions below