I use modx for several years and still I didn’t found a good way to categorise all elements
Most of the time I create a category EXTRAS where I move all installed extras. Then I create categories like: -“page” where I put head, header, footer,… chunks
-“forms” (all related to forms and emaild)
-“lists” or “content” where are chunks used in pdotools ect…
-“blocks” various blocks on page
-“utility” various utility snippets
Works well but I’m not happy with it. After each extra update I have to move that folder into extra and on larger sites I get a lot of categories which can be messy
In few latest projects I tried to use fewers snippets as possible and usualy I have one snippet which call various methods from custom class. So instead of 10 snippets I have one class with 10 methods in it.
In current project instead of class I use a snippet which includes various php files. Depending od what I need. I’m trying to minimze elements count and move whatever I can into files.
Anyway… I’m interested to get few examples from other developers. How you do it and how you keep things organized ?