im really new to wordpress so it's currently hard to decide which approaches are better.
I'm a developer and there are some wordpress principles im struggling with.
What is the best way to implement custom backend code? Par example calling an API and show the results on the page.
I red about different techniques like adding a shortcode, using hooks, edit child theme-files directly, there is also this REST-API from wordpress.
Maybe someone can point out, some typicall use-cases or examples when to use which technique and which is giving the most freedom?
What is when i use an Page-Builder like Elementor, then everything is stored in the database. How would i add some backend code here?
Currently Im using the free version of woocommerce for making a multi-vendor marketplace. Therefore i need a frontend product upload. What is the best way to implemen this? Writing directly into the database or using the woocommerce api?
Concept of having some page-related stuff in files and others in database (which make versioning harder) is somehow against my intuition as a developer.
Thanks in advance