CompleteFTP supports Javascript Server-Side (JSS). This means Javascript (normally only served up for execution in the browser) can be executed on the server, and the results served to the browser.
This opens up server-side development to Javascript developers who previously were confined to working in the browser. It helps leverage their skills much further. JSS is ECMAScript 3 compliant, so nearly all Javascript syntax in common use is supported.
There are three main aspects to JSS:
When JSS is enabled (see below), any file on the server that has the extension .jss will be assumed to contain Javascript and will be interpreted on the server. That's it!
The main features of JSS are described in detail here.
There are some good reasons for doing so:
A file with a .jss extension will be run as JSS if:
If both of these conditions are not satisfied then the file will be served up the same as an non-JSS file.