Title Usporedba proceduralnog i objektno orijentiranog pristupa razvoju web aplikacija
Title (english) Comparison of procedural and object oriented approches to web development
Author Barbara Brajević
Mentor Krunoslav Žubrinić (mentor)
Mentor Ana Kešelj (komentor)
Committee member Mario Miličević (predsjednik povjerenstva)
Committee member Krunoslav Žubrinić (član povjerenstva)
Committee member Ana Kešelj (član povjerenstva)
Granter University of Dubrovnik (Faculty of Electrical Engineering and Applied Computing) Dubrovnik
Defense date and country 2023-07-14, Croatia
Scientific / art field, discipline and subdiscipline TECHNICAL SCIENCES Computing Data Processing
Abstract U ovom završnom radu obrađena je usporedba proceduralnog i objektno orijentiranog pristupa programiranju. Prije samog opisa klijentskih i skriptnih programskih jezika kao glavnih elementa web stranica i aplikacija, u drugom poglavlju obrađen je pojam objektno orijentiranog programiranja i proceduralnog programiranja. Objektno orijentirano programiranje je način programiranja koji se temelji na konceptu objekata, a proceduralno programiranje koristi varijable za spremanje podataka, orijentira se na korištenje funkcija. U sljedećem poglavlju obrađene su dvije podskupine programskih jezika klijentski i skriptni jezici. Klijentski jezici, izvode se na strani klijenta, odnosno u web pregledniku korisnika i brži su od skriptnih jezika. Skriptni jezici se izvršavaju na strani poslužitelja i zbog toga su sporiji, ali i sigurniji jer nisu vidljivi korisnicima. Na osnovu tih tvrdnji uspoređujemo kodove proceduralnog i objektno orijentiranog pristupa programiranju. U potpoglavlju klijentskih jezika opisuje se HTML i CSS za strukturu i dizajn web stranice. Svi dijele zajednički cilj, a to je poboljšati korisničko iskustvo na web stranicama, unatoč različitim funkcionalnostima i mogućnostima koje se koriste u različite svrhe. U potpoglavlju skriptnih jezika obrađuju se najčešće korišteni PHP i JavaScript. PHP je serverski programski jezik koji se koristi za izradu dinamičkih web stranica i web aplikacija, dok je JavaScript skriptni jezik koji se izvršava na klijentskoj strani i omogućava interaktivnost i dinamičnost web stranica. Također postoje i objektno orijentirani JavaScript i PHP koji omogućuju interaktivnost i dinamičnost web stranica. Objektno orijentirani PHP je način programiranja u PHP-u koji omogućava organiziranje koda u objekte, što olakšava ponovno iskoristivost, strukturiranost i modularnost, dok je objektno orijentirani JavaScript način programiranja u JavaScriptu koja omogućava stvaranje objekata s vlastitim svojstvima i metodama radi efikasnijeg i organiziranijeg razvoja aplikacija.
Abstract (english) This undergraduate thesis makes a comparison between procedural and object-oriented approaches to programming. Before the actual description of client and script programming languages as main elements of web pages and applications, the concept of object-oriented programming is discussed in the second chapter. Object-oriented programming is a way of programming that is based on the concept of objects, while procedural programming uses variables to store data and is oriented towards the use of functions. In the next chapter, two subgroups of programming languages, client and scripting languages, are discussed. Client languages are executed on the client side, i.e. in the user's web browser, and they are faster than scripting languages. Scripting languages are executed on the server side and are therefore slower, but also more secure, since they are not visible to the user. Based on these assertions, we compare the codes of the procedural and object-oriented approaches to programming. The subsection on client languages describes HTML and CSS for website structure and design. They all have a common goal, which is to improve the usability of websites, despite different functionalities and capabilities used for different purposes. The Scripting Languages subchapter covers the most commonly used languages, PHP and JavaScript. PHP is a server-side programming language used to create dynamic web pages and web applications, while JavaScript is a scripting language that runs on the client side and enables interactivity and dynamics of web pages. There are also object-oriented ones JavaScript and PHP. Object-oriented PHP is a way of programming in PHP that enables the organization of code into objects, which facilitates reusability, structure, and modularity, while object-oriented JavaScript is a way of programming in JavaScript that enables the creation of objects with their own properties and methods for more efficient and organized application development.
Keywords
objektno orijentirano programiranje
proceduralno programiranje
PHP
HTML
JavaScript
Keywords (english)
Object Oriented Programming
Procedural Programming
PHP
HTML
JavaScript
Language croatian
URN:NBN urn:nbn:hr:155:643196
Study programme Title: Applied Computer Science / Information Management Study programme type: university Study level: undergraduate Academic / professional title: sveučilišni/a prvostupnik/ prvostupnica (baccalaureus/baccalaurea) inženjer/inženjerka računarstva (sveučilišni/a prvostupnik/ prvostupnica (baccalaureus/baccalaurea) inženjer/inženjerka računarstva)
Type of resource Text
File origin Born digital
Access conditions Access restricted to students and staff of home institution
Terms of use
Created on 2023-08-21 08:33:16