So I’m currently trying to make a project using ravendb. And some basic moving from relational to document challenges appear.
I’ve been reading http://ayende.com/blog/4466/that-no-sql-thing-modeling-documents-in-a-document-database and still is. Looking at the post and categories, how would I show categories if there are no posts? I’m not making a blog, But need the user to enter some data, and some of it is an option set like categories…..which I’m in control of.
Create a separate document used to define all categories.
The categories chosen for a post do not have to have any reference to the category definition document. They are after all just categories.