3 ms·
I am confused. The JavaScript, does it run on the frontend, like firebase? or I send it to the backend? If I send the script to the backend, how to debug? How t
by billconan 7y ago
I am confused. The JavaScript, does it run on the frontend, like firebase? or I send it to the backend? If I send the script to the backend, how to debug? How to do entitlement? For example, I only want user A to access its own data.
- metanautics 7y agoQueries run on the backend in isolated VMs. To separate data for different users, you could use the saved query feature to isolate portions of data from each other, or alternatively create a separate database for each user. Providing comprehensive debugging facilities is an interesting idea...perhaps some kind of local testing sandbox would be useful there? What do you think?
- billconan 7y agoI want breakpoints, being able to check variable's value and logging. It would be better if the environment requires zero setup.
- metanautics 7y agoOne of the advantages of javascript versus a proprietary language is we can take advantage of the excellent tooling built-in to the existing js ecosystem. On the occasions where I had to write T-SQL stored procedures for example, I hated being locked in to a specific IDE for syntax highlighting and debugging. Moving forward I'd like to provide easy templates, perhaps through NPM or the like, for setting up Unbounded projects. Thanks for the feedback.