Hello,
I just wanted to say a quick word about the "New loader mechanism" in the roadmap.
Right now, there is a discrepancy in some things.
If we want to invoke a controller from a module, we have to do new Request('module/controller/action');
If we want to invoke a view from a controller, we have to do new View('module::view');
I like the fact we need to specify the module to search in (for the view) and separate it with a double colon. But we can't do new Request('module::controller/action'); which in my feeling makes a lot of sense to do too.
I'm not sure what the new loader mechanism will perform, but if it can address this, that would be awesome.
Two different things.
The Request needs a URI, the View a (relative) path. For the path (not only for views), there is no way to specify that you want to load something from a module.
I agree that this is something that needs to be looked at, but I don't expect this specific example to be fixed, as it is not a discrepancy, just two different things used as a parameter...
Well, logic is the same. This has a lot of sense when talking about HMVC.
I agree it's kind of a detail. This isn't blocking for me, I'm using "module/controller" (with a slash) to execute a request from a module and I'm very happy with it, that's just a suggestion.