• Refine Query
  • Source
  • Publication year
  • to
  • Language
  • 1
  • Tagged with
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • About
  • The Global ETD Search service is a free service for researchers to find electronic theses and dissertations. This service is provided by the Networked Digital Library of Theses and Dissertations.
    Our metadata is collected from universities around the world. If you manage a university/consortium/country archive and want to be added, details can be found on the NDLTD website.
1

Serviceklass för Facebook Graph API

Iu, Marco January 2011 (has links)
Rapporten grundar sig på en delmängd av ett projekt som utfördes åt uppdragsgivaren SocialWorks. Projektet innefattade bland annat att arbeta mot externa webbtjänster. Genom webbtjänster kan webbaserade datorprogram kommunicera och skicka data till varandra. Då en webbtjänst nyttjas behöver utvecklaren sätta sig in i API:et för webbtjänsten. Denna rapport tar upp ett antal problem som kan uppstå vid användandet av en sådan webbtjänst och hur dessa problem kan lösas genom att skapa ett mellanlager i form av en serviceklass. Alla API-anrop ska gå genom serviceklassen och därmed behöver kodförändringar endast göras i serviceklassen ifall API:et förändras. Som ett resultat av arbetet togs en serviceklass fram som underlättar användningen av Facebooks Graph API tillsammans med PHP-ramverket Zend Framework. Genom serviceklassen behöver användaren inte sätta sig in i Facebook Graph API i detalj. Dessutom skapades en testapplikation i Zend dels för att testa serviceklassens funktionalitet och dels för att hantera så kallade testanvändare som Facebooks Graph API tillhandahåller. / This report is based on a subset of a project that was made for the company SocialWorks. The project included working with web services. Through web services, web applications are able to communicate and send data to each other. When a web service is used, the user has to study the web service API. This report addresses a number of problems that might arise from the use of such web services and how these problems can be solved by creating a service class that is used as a middle layer. All API calls will be made through the service class and thus changes in the API will only require modification of code in the service class. As a result of this report a service class was created using the PHP framework Zend Framework to facilitate the use of Facebook's Graph API. By using the service class, the user does not have to study the Facebook Graph API in detail. A test application was created to test the service class functionality and manage test users provided by the Facebook Graph API.

Page generated in 0.0456 seconds