*4.5. Web Server*

Despite the main aim of the developed application being to help in the evaluation of the lighting requirements of different working spaces, there are others interests behind the development of the application. One of those aims is to evaluate the level of compliance of the directives that regulate the lighting levels through the measurements performed by users. To make this possible, the user must accept sharing voluntarily the information captured by the application for their use in future research projects. To protect users' anonymity, all the data is sent to the server in an anonymous way, according to Spanish Organic Law 15/1999 on the Protection of Personal Data (LOPD) [35].

With the information collected through application usage, it is possible to perform different studies about lighting as well as the effect of climatological conditions on the lighting of the working spaces, or to study the level of regulations compliance in different areas.

To collect the data, a Web server, which was developed as a PHP Webpage where all the information is stored on a MySQL database, was created in [39].

The obtained results can set the basis for future research, as it happened in some studies performed where it was shown that the improvement of the light quality in health centers have a positive impact on the reduction of the hospital stays and increase in the outsourcing of treatment for many patients. For that reason, the server was created with an option to download the information related to the measurements performed with the application. To ease the reuse of the information, the Webpage offers several formats such as .txt, json, xml, xlsx, or csv as is shown in Figure 3.


**Figure 3.** AppLux Server download option.
