Backend - Web Services Clause Samples

Backend - Web Services. ‌ This part is the backend of the framework running on a server. It provides the developer with base classes that cover common functionality used when developing web services for the DURAARK project. The base classes allow to create a RESTful API around standalone executables that have a file as input and produce a) an output file or b)console output for further processing. For instance, one component takes care of file identification. The component is available as a standalone executable and needs an IFC or E57 file as input. Its output is a description file that contains informations for the provided file. This is a typical processing step for web services in the DURAARK context, which is common for other components in the project, too. The framework supports the developer in creating a RESTful API around a given function- ality (e.g. a standalone executable). The implementation providing concrete functionality (e.g. the file identification component) is exchangeable, whereas the API does not have to be changed when used with another implementation of the service. This approach encourages a stable API development and a clear separation of concerns between service interfaces and their implementation. As a basis for the web services part of the DURAARK framework the software library NodeJS 7 is used, which provides the functionality to start a web server and handles requests from and responses to clients (e.g. a UI module). It is written in Javascript and is a stable and well-tested software library with a broad user community and an active development line. 7NodeJS: ▇▇▇▇://▇▇▇▇▇▇.▇▇▇