[eluser]Tom Vogt[/eluser]
Hm, that would be a start.
Let me elaborate a little. I'm talking about a web-based game here. So I have lots of user states (gold, skills, etc.) as well as lots of actions (easily a hundred).
I have "action controllers" that sort the available actions, because the total list would just be way too long. That's where my problem comes in. I'd just have to have encapsulated modules, e.g. when I add a new building that offers new actions, I'd love to have everything there, not have to add stuff here and over there as well.
So, one controller and one helper per module? But how can I do stuff like "load all helpers in this directory" ?