Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6916287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:34:57+00:00 2026-05-27T09:34:57+00:00

I cannot seem to find a solid answer on this. I am a novice

  • 0

I cannot seem to find a solid answer on this. I am a novice when it comes to Ravendb, so any help will be much appreciated. I am looking to build a recursive menu. What would be the best way to do this? I looked at this feed RavenDb – Recursive queries/indexes, for Hierarchical Document, and was unable to find the ‘recommended’ solution. Do I just store all the child documents as denormalized data inside the parent document? I was thinking of storing the id of the document/page, and the document/page ‘slug’. This seems viable since this is all the info I will need when building the menu, but what happens if the page title changes? I would then need to change the slug of the page, which means I would have to update the page parent. What happens if the page is deleted to? Do I just apply a patch? How does this method differ from using Live Projections? If anyone maybe has built a hierarchical-tree-app using Ravendb, that mimics ‘best practices’, I would be forever grateful.

Thanks

Tyrone

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:34:58+00:00Added an answer on May 27, 2026 at 9:34 am

    How are you implementing the Menu? You may want to take a look at this Tree implementation as a reference.

    I would start by storing the whole Menu (your tree structure) data as a single document in RavenDB.

    RavenDB’s client is very good in terms of caching so even if you end up with a big document for the navigation that shouldn’t be a problem as it will be always in memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been searching around for this and cannot seem to find a solid answer.
i cannot seem to find the answer to this. i uploaded code to pastebin
I'm sure this has been answered but I cannot seem to find an answer.
I cannot seem to find any concrete answers for this. I have a client
This is a simple question, but I cannot seem to find a good answer
I have a relatively simple question that I cannot seem to find the answer
I cannot seem to find anyone having a problem similar to this anywhere... So
I have looked through the documentation but cannot seem to find the answer. Suppose
I've looked around the forum, but cannot seem to find a definite answer to
I've scoured over the questions here, but cannot seem to find an answer, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.