Hii there,
I’m trying to create a dashboard for my CMS.
Because I want the CMS to be modular, I want to be able to register the dashboard widgets on the fly like WordPress does.
I’m currently thinking where I “should” put the widgets their HTML (the layout) and PHP code (to get some stuff from the database and some APIs) and how it should come together.
How would you guys go about this?