Advanced module creation

Hi all!

I’m fairly new to magento and currently learning to create modules.
I can already create modules like this one: sample folder structure, fairly simple ones that places some content somewhere (i can also add a controller and route if need be)

but i’m getting stuck at the next steps like:

  • How can i fetch data from an external api and how does it fit in with the structure?
  • I’ve seen generic module structures like this one: generic module but i don’t know what most folder contain/do

Most tutorials only go as far as to make a module with a controller and route and call it a day which leaves me stuck where i’m at now.

Can anyone recommend me some valuable resources on this?

Kind regards!

submitted by /u/1-Ruben
[link] [comments]