The role of the middle layer in the web environment

The final thesis explains the purpose and importance of the middle layer in a web environment. It also shows the usage of session and headers to achieve better user experience. Generating templates is achieved by using the PHPOffice library. It shows the process of creating a template and the final...

Full description

Bibliographic Details
Main Author: Halupecki, Elvis
Other Authors: Adamović, Tomislav
Format: Bachelor Thesis
Language:English
Published: Veleučilište u Bjelovaru. Odjel računarstva. 2023
Subjects:
PDO
JWT
Online Access:https://zir.nsk.hr/islandora/object/vtsbj:906
https://urn.nsk.hr/urn:nbn:hr:144:551961
https://zir.nsk.hr/islandora/object/vtsbj:906/datastream/PDF
id ftnulzagrebzir:oai:zir.nsk.hr:vtsbj_906
record_format openpolar
spelling ftnulzagrebzir:oai:zir.nsk.hr:vtsbj_906 2023-08-27T04:11:51+02:00 The role of the middle layer in the web environment Halupecki, Elvis Adamović, Tomislav 2023-04-28 application/pdf https://zir.nsk.hr/islandora/object/vtsbj:906 https://urn.nsk.hr/urn:nbn:hr:144:551961 https://zir.nsk.hr/islandora/object/vtsbj:906/datastream/PDF eng eng Veleučilište u Bjelovaru. Odjel računarstva. Bjelovar University of Applied Sciences. Department of Computer Science. https://zir.nsk.hr/islandora/object/vtsbj:906 https://urn.nsk.hr/urn:nbn:hr:144:551961 https://zir.nsk.hr/islandora/object/vtsbj:906/datastream/PDF http://rightsstatements.org/vocab/InC/1.0/ info:eu-repo/semantics/openAccess session header AJAX calls PDO MySQLi PHP ORM JWT cURL functions sesija zaglavlja AJAX poziv cURL funkcija TEHNIČKE ZNANOSTI. Računarstvo. Informacijski sustavi TECHNICAL SCIENCES. Computing. Information Systems info:eu-repo/semantics/bachelorThesis text 2023 ftnulzagrebzir 2023-08-03T18:16:30Z The final thesis explains the purpose and importance of the middle layer in a web environment. It also shows the usage of session and headers to achieve better user experience. Generating templates is achieved by using the PHPOffice library. It shows the process of creating a template and the final result. It also shows the code code needed to send emails from the middle layer and ways to send data from frontend to the middle layer with the help of AJAX calls. The login process with a username and password are also shown, including code which validates data that comes from the user during logging in. There is also a comparison between PDO and MySQLi extensions which are used to communicate with the database. It is explained what PHP ORM library is, and the reasons why it's used. There is also a comparison between standard login and login with JWT, including the advantages of JWTs. cURL functions are used to call web services which generate barcodes that are used to pay HUB-3 payment slips. U radu se opisuje uloga i važnost srednjeg sloja u web okruženju. Prikazuje se korištenje sesija i zaglavlja kako bi se ostvarilo bolje korisničko iskustvo. Generiranje predložaka je objedinjeno u PHPOffice biblioteci te je prikazan proces koji je potreban za generiranje predložaka te finalni rezultat, odnosno generirana datoteka. Prikazan je programski kod potreban za slanje e-mailova s srednjeg sloja, te način na koji se podaci šalju sa sučelja na srednji sloj uz pomoć AJAX poziva. Uz sami prikaz slanja podataka, prikazan je proces prijave s korisničkim imenom i zaporkom te programski kod pomoću kojeg se provjerava točnost podataka koje korisnik upisuje prilikom prijave. Prikazana je usporedba PDO i MySQLi ekstenzija koje služe za korištenje baza podataka. Prikazana je namjena PHP ORM biblioteka te razlozi zbog kojih bi mogle biti poželjne za korištenje. Navedeni su razlozi zbog kojih bi prijava pomoću JWT-a bila bolja od uobičajene prijave. Uz pomoć cURL funkcija se poziva web servis koji prima parametre pomoću kojih se ... Bachelor Thesis sami Croatian Digital Theses Repository (National and University Library in Zagreb) Ajax ENVELOPE(168.450,168.450,-71.800,-71.800) Baza ENVELOPE(159.950,159.950,53.217,53.217) Curl ENVELOPE(-63.071,-63.071,-70.797,-70.797)
institution Open Polar
collection Croatian Digital Theses Repository (National and University Library in Zagreb)
op_collection_id ftnulzagrebzir
language English
topic session
header
AJAX calls
PDO
MySQLi
PHP ORM
JWT
cURL functions
sesija
zaglavlja
AJAX poziv
cURL funkcija
TEHNIČKE ZNANOSTI. Računarstvo. Informacijski sustavi
TECHNICAL SCIENCES. Computing. Information Systems
spellingShingle session
header
AJAX calls
PDO
MySQLi
PHP ORM
JWT
cURL functions
sesija
zaglavlja
AJAX poziv
cURL funkcija
TEHNIČKE ZNANOSTI. Računarstvo. Informacijski sustavi
TECHNICAL SCIENCES. Computing. Information Systems
Halupecki, Elvis
The role of the middle layer in the web environment
topic_facet session
header
AJAX calls
PDO
MySQLi
PHP ORM
JWT
cURL functions
sesija
zaglavlja
AJAX poziv
cURL funkcija
TEHNIČKE ZNANOSTI. Računarstvo. Informacijski sustavi
TECHNICAL SCIENCES. Computing. Information Systems
description The final thesis explains the purpose and importance of the middle layer in a web environment. It also shows the usage of session and headers to achieve better user experience. Generating templates is achieved by using the PHPOffice library. It shows the process of creating a template and the final result. It also shows the code code needed to send emails from the middle layer and ways to send data from frontend to the middle layer with the help of AJAX calls. The login process with a username and password are also shown, including code which validates data that comes from the user during logging in. There is also a comparison between PDO and MySQLi extensions which are used to communicate with the database. It is explained what PHP ORM library is, and the reasons why it's used. There is also a comparison between standard login and login with JWT, including the advantages of JWTs. cURL functions are used to call web services which generate barcodes that are used to pay HUB-3 payment slips. U radu se opisuje uloga i važnost srednjeg sloja u web okruženju. Prikazuje se korištenje sesija i zaglavlja kako bi se ostvarilo bolje korisničko iskustvo. Generiranje predložaka je objedinjeno u PHPOffice biblioteci te je prikazan proces koji je potreban za generiranje predložaka te finalni rezultat, odnosno generirana datoteka. Prikazan je programski kod potreban za slanje e-mailova s srednjeg sloja, te način na koji se podaci šalju sa sučelja na srednji sloj uz pomoć AJAX poziva. Uz sami prikaz slanja podataka, prikazan je proces prijave s korisničkim imenom i zaporkom te programski kod pomoću kojeg se provjerava točnost podataka koje korisnik upisuje prilikom prijave. Prikazana je usporedba PDO i MySQLi ekstenzija koje služe za korištenje baza podataka. Prikazana je namjena PHP ORM biblioteka te razlozi zbog kojih bi mogle biti poželjne za korištenje. Navedeni su razlozi zbog kojih bi prijava pomoću JWT-a bila bolja od uobičajene prijave. Uz pomoć cURL funkcija se poziva web servis koji prima parametre pomoću kojih se ...
author2 Adamović, Tomislav
format Bachelor Thesis
author Halupecki, Elvis
author_facet Halupecki, Elvis
author_sort Halupecki, Elvis
title The role of the middle layer in the web environment
title_short The role of the middle layer in the web environment
title_full The role of the middle layer in the web environment
title_fullStr The role of the middle layer in the web environment
title_full_unstemmed The role of the middle layer in the web environment
title_sort role of the middle layer in the web environment
publisher Veleučilište u Bjelovaru. Odjel računarstva.
publishDate 2023
url https://zir.nsk.hr/islandora/object/vtsbj:906
https://urn.nsk.hr/urn:nbn:hr:144:551961
https://zir.nsk.hr/islandora/object/vtsbj:906/datastream/PDF
long_lat ENVELOPE(168.450,168.450,-71.800,-71.800)
ENVELOPE(159.950,159.950,53.217,53.217)
ENVELOPE(-63.071,-63.071,-70.797,-70.797)
geographic Ajax
Baza
Curl
geographic_facet Ajax
Baza
Curl
genre sami
genre_facet sami
op_relation https://zir.nsk.hr/islandora/object/vtsbj:906
https://urn.nsk.hr/urn:nbn:hr:144:551961
https://zir.nsk.hr/islandora/object/vtsbj:906/datastream/PDF
op_rights http://rightsstatements.org/vocab/InC/1.0/
info:eu-repo/semantics/openAccess
_version_ 1775355425984610304