Answer the question
In order to leave comments, you need to log in
How to organize admin panel in ZendFramework2?
I am doing a small project. It implies with it some work in the admin panel. There will be several sections: news, something like a gallery ... well, and a few more. Not the point.
Actually, how is it organized? I suppose you can do something like this:
Write a separate module that will be a menu + several pages that would use the news module controllers, something like a gallery, etc. In the controller of this module, it will be possible to do something like connecting the actions of another controller? To call the action of the admin controller, we loaded the action of another controller.
But what if we also have several sections in the admin panel itself (and I will)? Make multiple modules: NewsAdmin, GalleryAdmin, etc.? Unclear.
Or do you need to write an admin panel that would be a framework with a simple navigation menu (just a section selection, an action selection) and it would contain links to edit / delete / add the necessary sections? I don't understand how to do this, if not a simple redirect (and the redirect is wrong unambiguously, since a link like /admin/ should be preserved, etc.).
In another post, it was advised to use ZfcUser for the needs of maintaining users. From their developer there is also such a topic as ZfcAdmin. Can it be used?
Sorry for the possible confusion. My palms are sweaty, I'm worried :) I hope you understood what I meant and what answer I want to receive. Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question