Where Do I Put My Code ?

If you’re starting out with Corvid and not sure which bits (or bytes) of code go where, check out Where Do I Put My Code .

The article includes:

  • I want to respond to button clicks and page events

  • I want some code to run on every page

  • Where should I put passwords and sensitive data?

  • I want to use functions from somewhere else

  • Where do I put Wix backend functions?

  • Where can I handle incoming HTTP requests or webhooks?

  • I want to run a function when my data collection changes

  • Where do I put code for backend events?

  • Where do I put Router code?

3 Likes