Skip to content

Dynamic Menu and Content #77

@Light-Wizzard

Description

@Light-Wizzard

Feature request:

  1. Which commit are you using? 178
  2. Which operating system, processor architecture, and Go version are you using (go env)?
    Arch Linux Manjaro, GOHOSTOS="linux", GOHOSTARCH="amd64", go version go1.10.3 linux/amd64

Dynamic Menu and Content
Maintaining a Static Site is hard to do, there should be a way to Dynamically add Menu items and Content.

In the Controller.go LoadRoutes, it would be easy enough to iterate through the database for dynamic menu items, and store a template name and content in database entry for menu item and store a static template in a Dynamic Menu Folder, I know this would be a major change, but one everyone would agree with, Dynamic and Static should mix well. I have just started to use this framework so I am not yet fully familiar with the code enough to make the changes, so I thought I would suggest it and see what your thoughts are, and to see if this issue has already be addressed.

Update:
Grant you I can make this Dynamic in my Front End as it is, but its not Database Driven, and it seems that might be faster, but only benchmarks would determine. Static pages cache better so maybe you can ignore this request if that is the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions