Coder Social home page Coder Social logo

Comments (9)

nWidart avatar nWidart commented on August 10, 2024

Hi,

Just because we use the laravel-sidebar package which is easy to manage via php and is in version control.

from laravel-menus.

denisdulici avatar denisdulici commented on August 10, 2024

I did the same with your package, via PHP, extensible as within Asgard, through events 😉

from laravel-menus.

nWidart avatar nWidart commented on August 10, 2024

I see, interesting. So it's manageable via the UI and code? What if I have a menu item via code, but client removes it via the UI?

from laravel-menus.

denisdulici avatar denisdulici commented on August 10, 2024

I'm not talking about the Menu manager of Asgard but the Admin Sidebar, which is managed from code of modules. Like this one:
https://github.com/AsgardCms/Platform/blob/2.0/Modules/Page/Events/Handlers/RegisterPageSidebar.php

from laravel-menus.

denisdulici avatar denisdulici commented on August 10, 2024

Mine is something like this: https://gist.github.com/denisdulici/9883b81b1440ae8cb4026ac498fd92d5

from laravel-menus.

nWidart avatar nWidart commented on August 10, 2024

The menu manager of asgard is this package, to which you PR'ed the adminlte presenter. So I assume it's for the backend. Same as your title here.

So based on your code, what happens when the clients removes that item?
I assume that item wouldn't be persisted in the database so the client can't even touch it? What's the upside of using it then vs laravel-sidebar?

from laravel-menus.

denisdulici avatar denisdulici commented on August 10, 2024

In Asgard, as far as I know, the admin sidebar is not saved in database and there is no UI for it so the client can't touch it, right?

As for the upside, why use 2 packages when you can get the same with 1 ?

from laravel-menus.

nWidart avatar nWidart commented on August 10, 2024

I see yea that makes sense.

from laravel-menus.

nWidart avatar nWidart commented on August 10, 2024

I'll close this as your PR was merged. 😄

from laravel-menus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.