loading...

A mystique guide on boarding CouchDB

javierg profile image Javier Guerra ・1 min read

Our stack includes CouchDB consumed in Rails applications. Every time a new developer starts working in it, the first complain is how human thought is designed to create associations everywhere, and how the patterns the mind build are better represented by RDBS.

To them, I just ask them, to let go. Let go all your attachments, let the attachments go into stand alone documents. Stop expecting relationships to be for ever, but embrace them in a nested structure with relevant data. Stop expecting that the world won't change, and drop any idea of implementing schemas in a non RDBS.

Document Based data bases are not best or worst than RDBS, they are a different paradigm, and approach the world in a different way. Somethings are hard, others easier. But it will be impossible if you keep thinking relational while doing non RDBS.

Posted on Nov 23 '17 by:

javierg profile

Javier Guerra

@javierg

Born, raise in Tijuana, MX. With a degree in Philosophy, have worked as janitor, sales person, pizza delivery boy, teacher, press operator, prepress, desktop Publisher, and for the last 19 years dev

Discussion

markdown guide