Reference Script libraries
In the front-end code, in addtion to the CADViewer core Java Script libraries, CADViewer uses a set of auxillary libraries and stylesheets.
Handler Specific Declarations
Depending on which back-end technology that is used to connect CADViewer with the back-end converters, a script files with settings needs to be loaded.
There is a separate file for PHP, Servlets, ASP.NET and NodeJS and only the file corresponding to the used back-end handler technology shall be uncommented.
The content of each of the script files are the declaration of variables ServerLocation and ServerUrl that are used in the initialization of CADViewer to point to the location of the installation. Below is the content for connection using PHP.