Ad

What Is The Benefits Of Creating Menu For Web Application Based On Database?

In my new job I saw that some web application before me created fully base on database. For example, All of the menu, sidebar, footer created programmatically from database. I never do this, and can't understand why they need it. And my question is 'What is the benefits of Creating menu based on database?'

Ad

Answer

I've been doing that too, simply because of a few reason.

  1. Makes it easier to add or remove some menu's in production environment (for example, when something goes wrong and you want to restrict access to that menu while you fix it).
  2. Easier to maintain user privileges on menus.
Ad
source: stackoverflow.com
Ad