Skip to content

How to use Novis

These pages show how the parts of a Novis application work together. Each page ends with a short list of things to do and things to avoid.

  • Project layout shows where the entry file, your classes, the tests and nvs.toml go.
  • Configuration explains nvs.toml: what it controls, and how to check it.
  • Handling requests shows how a program finds its route and reads the request.
  • Errors shows how to throw your own errors and handle them in one place.
  • Tainted input explains how Novis tracks values from outside the program.
  • Autocomplete and parsing for class property names in strings builds a small data mapper with class property names in its strings. The editor completes these names and underlines a name that does not exist.
  • Limits shows how to limit the memory and time of each request.
  • Live updates explains when to use an event stream and when to use a WebSocket.
  • Sending mail shows how to set up a mail server, send HTML mail with attachments, and test it.
  • Reading bounces and replies shows how to read a mailbox, find bounces and replies to your mail, and test it.
  • Transferring files shows how to upload and download files on a partner’s server over SFTP, FTPS or FTP, and test it.

Read the Tour first if you have not written a Novis program yet.