• Refine Query
  • Source
  • Publication year
  • to
  • Language
  • 1
  • Tagged with
  • 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

REST, 15 år och missförstådd.

Hedlund, Magnus January 2015 (has links)
Webben är en framgångssaga. Men vilka tekniska egenskaper gör den framgångsrik?Dr. Roy Fielding identifierade dess stora fördelar och vilka arkitektoniskarestriktioner som främjar dessa. REpresentational State Transfer, ellerREST, är en arkitektonisk stil som samlar dessa restriktioner under en akronym.REST kan användas för att ge webbens positiva egenskaper till webbservicessom konsumeras av automatiserade klienter. Uppdraget har varit att implementeraett Application Programming Interface (API) på ett befintligt system föravtalshantering. API:et ska vara RESTful. Vad detta egentligen innebär verkarinte helt solklart. En stor del av arbetet har legat i att studera Fieldings avhandlingoch reda ut begreppen. Det centrala i REST är det enhetliga interfacet, sominnebär att system, oberoende av varandra ska kunna förstå de meddelandensom hanteras. Det utvecklade systemet har utvärderats mot definitionen avREST och systemet saknar den essentiella delen Hypertext As The Engine OfApplication State (HATEOAS). Denna del är också vad som verkar vara denmest missförstådda, eller till och med helt ignorerade delen av REST. HATEOASinnebär att servern genom länkar, dynamiskt serverar klienten med de vägarklienten kan navigera API:et. Detta leder till att ny funktionalitet kan läggas tillutan att skapa inkompatibilitet med klienten. Klienten kan välja att ignorera länkarmed relationer den inte känner igen. För att REST ska vara användbart såmåste klienten förstå relationerna i API:ets länkar och representationen av dessdata. / The World Wide Web is a success. But, what technical properties made it whatit is today? Dr. Roy Fielding identified the web´s great advantages and a set ofarchitectural restrictions to guard the advantages. REpresentational State Transfer,or REST, is an architectural style gathering these restrictions under oneacronym. REST can be used to give the web´s properties to web services to beconsumed by automated clients. The mission has been to implement an ApplicationProgramming Interface (API) on top of a system for contract handling.The API should be RESTful. What RESTful actually means seems unclear. Themajor part of the work has been to study Fieldings dissertation, sorting out thecharacteristics. The central part of REST, is the uniform interface. It allows intermediarynodes to understand the meaning of a message without knowinganything else about the sender. The system developed has been evaluatedagainst Fieldings definition of REST, still the system lacks Hypertext As TheEngine Of Application State (HATEOAS). This part seems to be the mostwidely misunderstood part of REST, often completely ignored. HATEOASgives the server the power of steering the client through the API, by always providinglinks to the available steps. This leads to the ability to add functionalityto the API without breaking the client. The client can just ignore the links that itdoes not know how to handle. For REST to be useful by automated clients, theclient needs to understand the link relations and the data representations of theAPI.

Page generated in 0.0428 seconds