I've been used to PHP, where code is put in a file, and executed each time on load.
With NodeJS, I need to use HTML files, but need calculation done within the files. A solution would be putting the whole file's HTML content into the file that is running the HTTP server, but I'd like to have them in files instead.
I am using NodeJS, and Express. How is this done?