- Member | 2
I have a Nette application as part of a bigger system and because I don't really want to make unnecessary mess, I'd like to add Nette modules under specific namespaces, not just e.g. FrontModule.
Let's say there's an Api module. Ideally, I'd have Company\Project\Api with Company\Project\Api\SomePresenter etc.
The issue is that it's not really clear how to make this happen with Nette Application and Nette Route. Could you please show me the correct path? I tried some hacks like sorta namespacing the module string in route metadata (not allowed characters). I ended up reading through the Route and Application class sources, that didn't give me a lead really. Maybe there's some configuration option I'm not aware of? This might be helpful addition to the documentation as well.
Thanks and cheers to Nette!