Some basic newbie questions on server connect / api development

So, after a couple of days playing around with Wappler, I might jump on the train and start a real world project. So be prepared for a number of questions on the server- and frontend side.

Let’s start with the some where I couldn’t find answers in the docs or forum:

  1. How can I output variables and queries to the server console?
  2. I would like to use JSON to transfer data from the frontend to the API (there will be a website and mobile app). Would be “Object” the right type on $_POST? But how to access the data? Couldn’t find documention and unfortunatly no way to output the $_POST the the console.
  3. How to create my own response object as JSON?
  4. How to do simple server side logic (aka “Service Layer”), like comparing a number of fields values and do simple math based on this field values? Natively with Wappler or RunJS?

Cheers,
Heiko

Community Page
Last updated: