toni Posted April 6, 2022 Posted April 6, 2022 Hi experts, as my module is growing, I'm looking for ways to split up my code. I've seen instead of returning markup from the main module AppApi has excluded those to a views folder. https://github.com/Sebiworld/AppApi/tree/main/views Can someone explain how this is wired together, how each __execute* knows what to render? Thanks a lot for your help – Toni
Zeka Posted April 6, 2022 Posted April 6, 2022 https://github.com/processwire/processwire/blob/dev/wire/core/ProcessController.php#L388 1
Zeka Posted April 6, 2022 Posted April 6, 2022 Also take a look at ProcessHello module https://processwire.com/modules/process-hello/ https://processwire.com/blog/posts/pw-3.0.181-hello/ https://github.com/ryancramerdesign/ProcessHello 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now