This project was realized by a group of five students during 48 hours on the occasion of the Design4Green challenge which takes place every year.
It is a competition for the best green developer and tomorrow’s talent on a specific subject made by AGIT during 48 hours non stop which objective is to encourage an federate both students and professionals for sustainable IT.
As a result, this project tends to matches all requirements explained in the subject :
- Have a form of around 90 questions about IT impact on the environment.
- Keep this form on a single page.
- Keep the application as light as possible.
- Desgin a pleasant interface to keep the user interested.
- Allow users to save their answers and continue filling the form later.
As the importance of the above requirements were not specified, our group mainly focused on having all questions in one page which lead to a large home page and an average green ranking (50 / 100 according to the tool provided for testing, because of this large page).
- We used Python to parse the list of questions provided in an Excel file and generate the database contents.
- We used SQLite as DBMS for its modularity, lightness and large load support.
- We used PHP 7.1 with Symfony 4 to generate the form and to interface the database.
- The DOM is generated using the Twig rendering engine
- As we belived that Javascript is a huge energy consumer for the client, we decided not to use any Javascript library and use it only when it was strictly essential (when manipulating the DOM or sending form's data to the back-end in order to avoid re-rendering the page)
- CSS3 was used to style the application, we designed a dark interface as we belived that it would require less energy from the user's screen.