dc.contributor.author | Nieminen, Niko | |
dc.date.accessioned | 2013-04-26T10:02:24Z | |
dc.date.available | 2013-04-26T10:02:24Z | |
dc.date.issued | 2013 | |
dc.identifier.uri | URN:NBN:fi:amk-201304255077 | |
dc.identifier.uri | http://www.theseus.fi/handle/10024/56335 | |
dc.description.abstract | Tämän opinnäytteen tarkoituksena oli valmistaa verkkokauppojen ohjelmointia helpottava rajapinta, jonka kautta voisi hakea mm. tuotteita ja tuoteryhmiä tietokannasta. Kaikki verkkokaupan sisältö olisi saatavilla monikielisenä. Sisällönhallintaa, kuten tuotteiden lisäämistä ja poistamista varten, suunniteltiin tehtäväksi erityinen työkalu.
Kaikki kokonaisuuden osat ohjelmoitiin PHP:llä ja rajapinnan tietokantana päätettiin käyttää MySQL:ää MyISAM -tietokantamoottorilla. Rajapinnan pääasiallinen luokka nimettiin Webshopiksi. Rajapintaa käytettäessä tästä luokasta luodaan olio, jonka kautta kaikkia sen toimintoja kutsutaan. Sisällönhallinnan työkalu on itsenäinen verkkosivu, jonka tietokantaa muokkaava ohjelmalogiikka ohjelmoitiin Webadmin-luokkaan. Työkaluun ohjelmoitiin sisäänkirjautumis-, loki- ja käytönrajoitustoimintoja.
Lopuksi rajapintaa ja työkalua käytettiin projektissa, joka todistaa tuotetun kokonaisuuden hyödyllisyyden ja jonka perusteella työn tuloksia arvioitiin. Rajapinta ja sisällönhallinnan työkalu sisältävät halutut ominaisuudet hakea ja muokata kaupan eri tietoja. Lisäksi tuotetun ohjelmakoodin rakenne tekee siitä helpon ylläpitää siinä sovelletun MVC-periaatteen ansiosta.
Kun rajapintaa hyödynnetään verkkokaupan ohjelmoinnissa, ohjelmoijan tarvitsee kiinnittää huomiota vain verkkosivujen ulkoasuun ja joihinkin niillä navigointiin liittyviin tekniikoihin.
Työtä voidaan laajentaa ohjelmoimalla erilaisia maksutapoja rajapintaan, tuen useammalle kuin yhdelle kuvalle tuotetta kohti ja tehtyjen tilausten seurantamoduulin sisällönhallinan työkaluun. | fi |
dc.description.abstract | The objective of this thesis was to develop an application programming interface that would help the programming of Internet web shop applications. It was intended that through this interface it would be possible to retrieve product and product category data from the database where all the information was to be made available in multiple languages.
In addition, for web content management, a special tool was developed to allow graphical editing of shop data. Functions such as login, usage restriction, and action logging are built into this tool.
All the components in the project were programmed in PHP. The interface uses MySQL as its database and MyISAM as its database engine. The interface can be used by including the central class named Webshop and then creating an instance of it. Through this Webshop object, one can execute all of the functions of the interface that are required to run a web shop.
The content management tool is a standalone web application. Its program logic that handles modifying the database was separated inside the class known as Webadmin.
Finally, as proof of concept, both the interface and the content management tool were used in a real life project. The example web shop was also utilized in the evaluation of the success of the whole project. Both the interface and content management tool have an easy-to-read-and- maintain program structure that mimics the MVC design principle.
When programming web shops that make use of the interface, one does not need to focus on other things than visuals and some techniques regarding page navigation.
The project can be further developed by programming additional payment options to the Webshop class, support for multiple images per product and a module for order handling to the content management tool. | en |
dc.language.iso | fin | |
dc.publisher | Turun ammattikorkeakoulu | |
dc.rights | All rights reserved | |
dc.title | Verkkokaupan ohjelmointirajapinta ja www-sisällönhallinnan työkalu | fi |
dc.type.ontasot | fi=AMK-opinnäytetyö|sv=YH-examensarbete|en=Bachelor's thesis| | |
dc.identifier.dscollection | 10024/484 | |
dc.organization | Turun ammattikorkeakoulu | |
dc.subject.ysa | WWW-sivut | |
dc.subject.ysa | WWW-sivustot | |
dc.subject.ysa | verkkokauppa | |
dc.subject.ysa | sisällönhallinta | |
dc.contributor.organization | Turun ammattikorkeakoulu | |
dc.subject.keyword | PHP | |
dc.subject.keyword | MySQL | |
dc.subject.keyword | MyISAM | |
dc.subject.keyword | verkkosivut | |
dc.subject.keyword | verkkokauppa | |
dc.subject.keyword | www-sisällönhallinta | |
dc.subject.keyword | web-sisällönhallinta | |
dc.subject.keyword | WCMS | |
dc.subject.specialization | Sulautetut ohjelmistot | |
dc.subject.degreeprogram | fi=Tieto- ja viestintätekniikka|sv=Informations- och kommunikationsteknik|en=Information and Communications Technology| | |
dc.subject.discipline | Tietotekniikan koulutusohjelma | |