| Customize Help

Basic concepts for MILweb



The basic concepts and vocabulary conventions for MILweb are:

  • MILweb server application. Any MIL application with MILweb server functionality enabled. For brevity, this is sometimes shortened to MILweb server.

  • MILweb client application. An application that connects to a MILweb server application, using either the MILweb JavaScript library or the MILweb C/C++ library. For brevity, this is sometimes shortened to MILweb client.

    Since a MILweb client application does not require MIL to be installed, it is not considered to be a MIL application.

  • Instance of a MILweb client application. Your MILweb client application, running on a particular computer. It is possible for your MILweb client application to be run on multiple computers simultaneously; each of these computers is running its own instance of the application. Some MILweb functions affect only the local instance of your MILweb application. Some functions affect both the MILweb server application and the local instance of the MILweb client application. Some functions affect both the MILweb server application and all connected instances of the MILweb client application.

  • Client-side MIL identifier. The MIL identifier used in your MILweb client application to identify a MILweb server application or published MIL object. Each instance of your MILweb client application uses a different client-side MIL identifier to refer to the same MILweb server application or published MIL object. You therefore cannot share or compare client-side MIL identifiers between instances of your MILweb client application, or with the MILweb server application.

    For JavaScript, the client-side MIL identifier of a MILweb server application (or a published object) is assigned before the connection is established with that particular MILweb server application (or published object). Therefore, the client-side MIL identifier of an object can be inquired at any time, but is not usable until the connection is made and a connection event is generated.

  • MIL HTTP server. A MIL object you can use to host files on the local computer so that they are accessible in a web browser by remote computers. Typically, you can use a MIL HTTP server to host the HTML and JavaScript files of a MILweb client application. In this case, users download your MILweb client application from the HTTP server, and the MILweb client application connects to the MILweb server.

    Using a MIL HTTP server is optional; you can distribute your MILweb client application to users by other means (for example, using third-party HTTP server software or manually copying the application files to the remote computer using a thumbdrive).