Why is it it necessary to always create views and controllers?
Isn’t it possible to say: each view that does not have a specific controller class, falls back to using the applicationController instance, when is being attached as an outlet.
Possible?
The
connectOutletmethod has acontrolleroption you can pass:That said, we are in the process of improving the router API in general to put a greater focus on templates and making the View class optional (you’ll only need one if you have events to handle).