Just to clarify, in future we’re supposed to compose controller.js file ourselves, right? I mean Backendless provides service code, but the developer must then revoke functions provided himself.
So, it’s important to understand the logic behind controller.js?
what does “this” mean? Is it an App instance? If so, then the service is an object inside the App(I saw the object of service is created as an object)?
Then we use promises. How do we know what is returned as an argument inside function and if there’s actually returned something?
Oh, and also, about the client code, is it safe to expose all scripts like that? Is there an article to secure API calls with the role and permissions configuring practices?