Matkalaskumoduulin luonti Drupalilla
Ruonti, Teemu (2020)
Ruonti, Teemu
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2020062219233
https://urn.fi/URN:NBN:fi:amk-2020062219233
Tiivistelmä
Opinnäytetyö perustui toimeksiantoon, jossa oli tarkoituksena luoda moduuli Drupalilla matkalaskujen tallentamista varten. Toimeksiantajana oli eräs verkossa toimiva laskutuspalvelu, jonka Drupal-pohjainen verkkopalvelu tarvitsi uuden moduulin hoitamaan palvelun matkalaskujen tallentamisen suoraan verkkopalvelussa.
Opinnäytetyön teoriaosuudessa tarkasteltiin sisällönhallintajärjestelmiä, joista tarkempaan käsittelyyn valikoitui Drupalin esittely sekä moduulin kehittäminen Drupal 7:lla. Käytännön osuudessa esiteltiin itse toimeksiannon perusteella tehdyn projektin etenemistä. Se alkoi moduulin perustiedostojen luomisesta, jonka jälkeen tarkasteltiin eri toimintojen sekä toiminnallisuuden lisäämistä moduuliin.
Työssä selvisi, että Drupalin modulaarisuudesta joustavuudesta huolimatta sen suosio on ollut vuosien 2019–2020 aikana laskussa verrattuna yksinkertaisempaan sisällönhallintajärjestelmään Wordpressiin. Moduulikehitysprojektin lopputuloksena syntyi moduuli, joka luo käyttäjälle lomakkeen matkakulujen keräämistä varten, tallentaa tiedot niistä tietokantaan sekä hakee ne tietokannasta nähtäväksi toiselle sivulle. The thesis was based on a commission to create a module for Drupal that handles the saving of travel expense statements. The commissioner was an online invoicing company, whose Drupal-based online service needed a new module for handling the saving of travel expense statements directly within the online service.
The theoretical part of the thesis investigated content management systems, of which introducing Drupal and module development with Drupal 7 were chosen for further investigation. The practical part of the thesis presented the progress of the commissioned project. It began with the creation of the module’s basic files, after which the addition of various features and functionalities to the module was explained.
In the theoretical part of the thesis project, it became clear that although Drupal’s modularity allows for more flexibility in what it can achieve, its popularity has been declining during 2019–2020 compared to the simpler content management system Wordpress. The result of the module development project was a module that creates a form that compiles the user’s travel expenses, stores them in the database, and retrieves them from the database for display on another page.
Opinnäytetyön teoriaosuudessa tarkasteltiin sisällönhallintajärjestelmiä, joista tarkempaan käsittelyyn valikoitui Drupalin esittely sekä moduulin kehittäminen Drupal 7:lla. Käytännön osuudessa esiteltiin itse toimeksiannon perusteella tehdyn projektin etenemistä. Se alkoi moduulin perustiedostojen luomisesta, jonka jälkeen tarkasteltiin eri toimintojen sekä toiminnallisuuden lisäämistä moduuliin.
Työssä selvisi, että Drupalin modulaarisuudesta joustavuudesta huolimatta sen suosio on ollut vuosien 2019–2020 aikana laskussa verrattuna yksinkertaisempaan sisällönhallintajärjestelmään Wordpressiin. Moduulikehitysprojektin lopputuloksena syntyi moduuli, joka luo käyttäjälle lomakkeen matkakulujen keräämistä varten, tallentaa tiedot niistä tietokantaan sekä hakee ne tietokannasta nähtäväksi toiselle sivulle.
The theoretical part of the thesis investigated content management systems, of which introducing Drupal and module development with Drupal 7 were chosen for further investigation. The practical part of the thesis presented the progress of the commissioned project. It began with the creation of the module’s basic files, after which the addition of various features and functionalities to the module was explained.
In the theoretical part of the thesis project, it became clear that although Drupal’s modularity allows for more flexibility in what it can achieve, its popularity has been declining during 2019–2020 compared to the simpler content management system Wordpress. The result of the module development project was a module that creates a form that compiles the user’s travel expenses, stores them in the database, and retrieves them from the database for display on another page.