5441337095

5441337095



Figurę 2-2 RESTful Web services request to server

2.1.2 Resource Modelling for REST

The advantages of RESTful Web services are that they are lightweight, human readable, easy to build, and trivial to test using a browser or common tools such as curl and wget. However, REST is not a silver bullet, and REST emphasises a software design discipline of many URIs and few methods [8]. Hence, the challenge to RESTful Web services is to find an effective mechanism to map business logics to resources and limited uniform interfaces. This reąuires that application designers take a fundamental shift to rethink the problems in terms of manipulations of addressable resources rather than the traditional object-oriented way about objects and functions [8] [9]. This may be the most difficult part to implement for the programmers who are familiar with the RPC approach of integrating existing applications through unrestricted user-defined APIs.

Therefore, this project will investigate a resource modelling techniąue to help practitioners of RESTful Web services build up the application’s resource model. Since it is the application’s responsibility to understand the format of information (i.e. content types), this project will focus on the research of resource modelling on the identifier of the resource, and the action reąuired for an application to interact with a resource [10]. The data flow modelling techniąue used in SSADM (Structured Systems Analysis and Design Method) provides a reference model for the resource modelling development, because it shows the processing needed in an information system to maintain (create, read, update, and delete) the data.

A data flow model is composed of processes, extemal entities, and data Stores. Each data flow from an external entity to a process can represent one of two operations: (1) an event with data items to perform an update on the data, (2) a triggering of an enąuiry on the data [11]. These operations can be mapped to the HTTP GET, POST, PUT, and DELETE methods based on the naturę of the processes and links between processes and data Stores. In addition, the data Stores in the data flow model are the basis for constructing URIs of the resources in RESTful Web services.

Zhangmin Lu, Student ID: 7315259



Wyszukiwarka

Podobne podstrony:
IMG 14022828 Clearing Up a Fcw Things /A family łrip to a faraway place can help unlock the dcepest
11 acąuisition and resulted directly from the necessity to enter the water for oviposition. The sepa
21 21 e n t Why project 1.3 Project management for PhDs The essence of project management is to work
014 Winter ■ Use this display to encourage students to get cozy with books. Cover the background of&
24 (b) Pharmaceutical Services (US$291,000) 3.47 Obiectiyes and Description. The purpose of this
In an attempt to answer these questions, I shall place the model of self-managing socialism as it is
ed and to institutions that have been developed. The conservation of the existing system must not be
59204 IMGx27 5THE CIYILISATION PHENOMENON **Have we got to get down and elear away the debris of a s
Thank to thc Schachenniayr Company for ihcir helplul -»upport of this book, and for working thc clo
Liying space defined for alcohol policy to get $22 It said that the Department of Correctlons and tn
2 8 The third style called flexible (or principled) style combines to some extent the advantages of
exhibitions. The cxecution of this plan would enable thc Museum to install its col-lections in the f

więcej podobnych podstron