From 03067c19562502ac12abd91b9df41217a3412b41 Mon Sep 17 00:00:00 2001 From: kirsle Date: Thu, 11 Sep 2014 23:22:45 -0700 Subject: [PATCH] Updated Database System (markdown) --- Database-System.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Database-System.md b/Database-System.md index 9acece2..2ab9f3c 100644 --- a/Database-System.md +++ b/Database-System.md @@ -19,6 +19,8 @@ The document URIs are hierarchical and that's how the database is organized. Exa * `blog/entries/172` - the blog post with ID #172 * `blog/index` - an index (high level summary) of all existing blog posts +For a simple personal homepage site, this database model is sufficient. If you need data to be available in a way that doesn't fit the document-based structure (in what MongoDB would call a View), you make a new JSON document that pre-caches the data when it changes (i.e. `blog/index` is a high level cache of basic blog entry details, like their subject, creation date, author ID, etc. -- but not their contents, comment counts, avatars, or other details) + # Example DB Structure ```