首页 > 最新文献

International Workshop on RESTful Design最新文献

英文 中文
RESTify: from RPCs to RESTful HTTP design RESTify:从rpc到RESTful HTTP设计
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307824
Jakob Strauch, Silvia Schreier
Starting with RESTful design is a difficult task -- even more if the designer has a RPC or object-oriented background. To support the adaption from RPC- to REST-oriented thinking, we propose RESTify, a straightforward procedure model to redesign a RPC-oriented interface into a hypermedia-enabled REST interface. RESTfiy uses a WSDL document of an existing SOAP service and consists of three iterations. The result of each iteration is an enhanced version of the preceding one concerning the REST constraints and is meant to be implemented as a HTTP service. Beside the technical result of the process and the design of a RESTful interface, the developer becomes acquainted to the main elements of a RESTful design, the constraints and their application. The results of the evaluation, using a prototypical web application and public SOAP services, are promising.
从RESTful设计开始是一项困难的任务——如果设计人员具有RPC或面向对象的背景,则更加困难。为了支持从面向RPC到面向REST的思想的适应,我们提出了RESTify,这是一个简单的过程模型,可以将面向RPC的接口重新设计为支持超媒体的REST接口。RESTfiy使用现有SOAP服务的WSDL文档,并由三个迭代组成。每次迭代的结果都是前一个涉及REST约束的迭代的增强版本,并打算作为HTTP服务实现。除了过程的技术结果和RESTful接口的设计之外,开发人员还熟悉RESTful设计的主要元素、约束及其应用。使用一个原型web应用程序和公共SOAP服务的评估结果是有希望的。
{"title":"RESTify: from RPCs to RESTful HTTP design","authors":"Jakob Strauch, Silvia Schreier","doi":"10.1145/2307819.2307824","DOIUrl":"https://doi.org/10.1145/2307819.2307824","url":null,"abstract":"Starting with RESTful design is a difficult task -- even more if the designer has a RPC or object-oriented background. To support the adaption from RPC- to REST-oriented thinking, we propose RESTify, a straightforward procedure model to redesign a RPC-oriented interface into a hypermedia-enabled REST interface. RESTfiy uses a WSDL document of an existing SOAP service and consists of three iterations. The result of each iteration is an enhanced version of the preceding one concerning the REST constraints and is meant to be implemented as a HTTP service. Beside the technical result of the process and the design of a RESTful interface, the developer becomes acquainted to the main elements of a RESTful design, the constraints and their application. The results of the evaluation, using a prototypical web application and public SOAP services, are promising.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133521266","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 14
Functional descriptions as the bridge between hypermedia APIs and the Semantic Web 功能描述作为超媒体api和语义网之间的桥梁
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307828
R. Verborgh, T. Steiner, D. V. Deursen, Sam Coppens, J. Gabarró, R. Walle
The early visions for the Semantic Web, from the famous 2001 Scientific American article by Berners-Lee et al., feature intelligent agents that can autonomously perform tasks like discovering information, scheduling events, finding execution plans for complex operations, and in general, use reasoning techniques to come up with sense-making and traceable decisions. While today more than ten years later the building blocks (1) resource-oriented rest infrastructure, (2) Web APIs, and (3) Linked Data are in place, the envisioned intelligent agents have not landed yet. In this paper, we explain why capturing functionality is the connection between those three building blocks, and introduce the functional API description format RESTdesc that creates this bridge between hypermedia APIs and the Semantic Web. Rather than adding yet another component to the Semantic Web stack, RESTdesc offers instead concise descriptions that reuse existing vocabularies to guide hypermedia-driven agents. Its versatile capabilities are illustrated by a real-life agent use case for Web browsers wherein we demonstrate that RESTdesc functional descriptions are capable of fulfilling the promise of autonomous agents on the Web.
语义网的早期愿景来自Berners-Lee等人2001年发表在《科学美国人》(Scientific American)上的一篇著名文章,其特征是智能代理可以自主执行诸如发现信息、安排事件、为复杂操作寻找执行计划等任务,并且通常使用推理技术来提出意义构建和可追溯决策。虽然十多年后的今天,构建块(1)面向资源的rest基础设施、(2)Web api和(3)关联数据已经到位,但设想中的智能代理尚未落地。在本文中,我们解释了为什么捕获功能是这三个构建块之间的连接,并介绍了功能API描述格式RESTdesc,它在超媒体API和语义Web之间创建了这座桥梁。RESTdesc并没有向语义Web堆栈中添加另一个组件,而是提供了简洁的描述,重用现有词汇表来指导超媒体驱动的代理。Web浏览器的实际代理用例说明了RESTdesc的多功能,其中我们演示了RESTdesc功能描述能够实现Web上自治代理的承诺。
{"title":"Functional descriptions as the bridge between hypermedia APIs and the Semantic Web","authors":"R. Verborgh, T. Steiner, D. V. Deursen, Sam Coppens, J. Gabarró, R. Walle","doi":"10.1145/2307819.2307828","DOIUrl":"https://doi.org/10.1145/2307819.2307828","url":null,"abstract":"The early visions for the Semantic Web, from the famous 2001 Scientific American article by Berners-Lee et al., feature intelligent agents that can autonomously perform tasks like discovering information, scheduling events, finding execution plans for complex operations, and in general, use reasoning techniques to come up with sense-making and traceable decisions. While today more than ten years later the building blocks (1) resource-oriented rest infrastructure, (2) Web APIs, and (3) Linked Data are in place, the envisioned intelligent agents have not landed yet. In this paper, we explain why capturing functionality is the connection between those three building blocks, and introduce the functional API description format RESTdesc that creates this bridge between hypermedia APIs and the Semantic Web. Rather than adding yet another component to the Semantic Web stack, RESTdesc offers instead concise descriptions that reuse existing vocabularies to guide hypermedia-driven agents. Its versatile capabilities are illustrated by a real-life agent use case for Web browsers wherein we demonstrate that RESTdesc functional descriptions are capable of fulfilling the promise of autonomous agents on the Web.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114978602","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 62
Experiences designing hypermedia-driven and self-adaptive web-based AR authoring tools 具有设计超媒体驱动和自适应的基于web的AR创作工具的经验
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307831
Vlad Stirbu, Yu You
In this paper we present our experiences on developing generic and adaptive web-based content authoring tools for augmented and mixed reality applications. Our approach uses hypermedia to convey the capabilities of content servers and to load on demand only the functionality needed to interact with the corresponding content server. The mechanism allows the web application to provide an optimized user experience by adapting to the environment where it is used.
在本文中,我们介绍了为增强现实和混合现实应用程序开发通用的和自适应的基于web的内容创作工具的经验。我们的方法使用超媒体来传达内容服务器的功能,并按需加载与相应内容服务器交互所需的功能。该机制允许web应用程序通过适应使用它的环境来提供优化的用户体验。
{"title":"Experiences designing hypermedia-driven and self-adaptive web-based AR authoring tools","authors":"Vlad Stirbu, Yu You","doi":"10.1145/2307819.2307831","DOIUrl":"https://doi.org/10.1145/2307819.2307831","url":null,"abstract":"In this paper we present our experiences on developing generic and adaptive web-based content authoring tools for augmented and mixed reality applications. Our approach uses hypermedia to convey the capabilities of content servers and to load on demand only the functionality needed to interact with the corresponding content server. The mechanism allows the web application to provide an optimized user experience by adapting to the environment where it is used.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"77 2 Suppl 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123230748","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
On using JSON-LD to create evolvable RESTful services 关于使用JSON-LD创建可演化的RESTful服务
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307827
Markus Lanthaler, C. Gütl
As the amount of data and devices on the Web experiences exponential growth issues on how to integrate such hugely heterogeneous components into a scalable system become increasingly important. REST has proven to be a viable solution for such large-scale information systems. It provides a set of architectural constraints that, when applied as a whole, result in benefits in terms of loose coupling, maintainability, evolvability, and scalability. Unfortunately, some of REST's constraints such as the ones that demand self-descriptive messages or require the use of hypermedia as the engine of application state are rarely implemented correctly. This results in tightly coupled and thus brittle systems. To solve these and other issues, we present JSON-LD, a community effort to standardize a media type targeted to machine-to-machine communication with inherent hypermedia support and rich semantics. Since JSON-LD is 100% compatible with traditional JSON, developers can continue to use their existing tools and libraries. As we show in the paper, JSON-LD can be used to build truly RESTful services that, at the same time, integrate the exposed data into the Semantic Web. The required additional design costs are significantly outweighed by the achievable benefits in terms of loose coupling, evolvability, scalability, self-descriptiveness, and maintainability.
随着Web上的数据和设备数量呈指数级增长,如何将如此庞大的异构组件集成到可伸缩系统中的问题变得越来越重要。REST已被证明是这种大规模信息系统的可行解决方案。它提供了一组体系结构约束,当将这些约束作为一个整体应用时,会在松耦合、可维护性、可演化性和可伸缩性方面带来好处。不幸的是,REST的一些约束,如要求自描述消息或要求使用超媒体作为应用程序状态引擎的约束,很少得到正确实现。这将导致紧密耦合的系统,从而导致脆弱的系统。为了解决这些问题和其他问题,我们提出了JSON-LD,这是一个社区努力标准化的媒体类型,目标是机器对机器通信,具有固有的超媒体支持和丰富的语义。由于JSON- ld与传统JSON 100%兼容,开发人员可以继续使用他们现有的工具和库。正如我们在本文中所展示的,JSON-LD可以用来构建真正的RESTful服务,同时将公开的数据集成到语义Web中。在松耦合、可演化性、可伸缩性、自描述性和可维护性方面可实现的好处大大超过了所需的额外设计成本。
{"title":"On using JSON-LD to create evolvable RESTful services","authors":"Markus Lanthaler, C. Gütl","doi":"10.1145/2307819.2307827","DOIUrl":"https://doi.org/10.1145/2307819.2307827","url":null,"abstract":"As the amount of data and devices on the Web experiences exponential growth issues on how to integrate such hugely heterogeneous components into a scalable system become increasingly important. REST has proven to be a viable solution for such large-scale information systems. It provides a set of architectural constraints that, when applied as a whole, result in benefits in terms of loose coupling, maintainability, evolvability, and scalability. Unfortunately, some of REST's constraints such as the ones that demand self-descriptive messages or require the use of hypermedia as the engine of application state are rarely implemented correctly. This results in tightly coupled and thus brittle systems. To solve these and other issues, we present JSON-LD, a community effort to standardize a media type targeted to machine-to-machine communication with inherent hypermedia support and rich semantics. Since JSON-LD is 100% compatible with traditional JSON, developers can continue to use their existing tools and libraries. As we show in the paper, JSON-LD can be used to build truly RESTful services that, at the same time, integrate the exposed data into the Semantic Web. The required additional design costs are significantly outweighed by the achievable benefits in terms of loose coupling, evolvability, scalability, self-descriptiveness, and maintainability.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"77 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126271903","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 138
From APIs to affordances: a new paradigm for web services 从api到功能支持:web服务的新范式
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307832
Mike Amundsen
The ecosystem of services on the Web continues to grow and evolve while, at the same time, the number and diversity of connected devices increases; challenges lie ahead for both providers and consumers of Web services. This paper is presented as a 'what-if' proposal; an alternate paradigm for dealing with an increasingly heterogeneous network. Drawing from diverse sources including physical architecture, industrial design, the psychology of perception, and cross-cultural mono-myth, a new implementation paradigm is proposed to help software architects and developers meet these challenges; one that invites participants to shift their mental model from that of programming network devices to programming the network to which those devices are connected. To accomplish this goal an "affordance-rich message" is proposed; one that is based on shared understanding through network-oriented affordances instead of device-oriented APIs. A working model based on this approach is offered, examples given, and areas of related work identified.
Web上的服务生态系统在不断增长和发展,与此同时,连接设备的数量和多样性也在增加;Web服务的提供者和消费者都面临着挑战。本文以“假设”的形式提出;用于处理日益异构的网络的另一种范例。从物理建筑、工业设计、感知心理学和跨文化的单一神话等不同的来源中,提出了一种新的实现范式,以帮助软件架构师和开发人员应对这些挑战;它邀请参与者将他们的思维模式从为网络设备编程转变为为这些设备连接的网络编程。为了实现这一目标,提出了一种“丰富的信息”;它基于通过面向网络的功能而不是面向设备的api来共享理解。本文提供了基于该方法的工作模型,给出了示例,并确定了相关工作的领域。
{"title":"From APIs to affordances: a new paradigm for web services","authors":"Mike Amundsen","doi":"10.1145/2307819.2307832","DOIUrl":"https://doi.org/10.1145/2307819.2307832","url":null,"abstract":"The ecosystem of services on the Web continues to grow and evolve while, at the same time, the number and diversity of connected devices increases; challenges lie ahead for both providers and consumers of Web services. This paper is presented as a 'what-if' proposal; an alternate paradigm for dealing with an increasingly heterogeneous network.\u0000 Drawing from diverse sources including physical architecture, industrial design, the psychology of perception, and cross-cultural mono-myth, a new implementation paradigm is proposed to help software architects and developers meet these challenges; one that invites participants to shift their mental model from that of programming network devices to programming the network to which those devices are connected.\u0000 To accomplish this goal an \"affordance-rich message\" is proposed; one that is based on shared understanding through network-oriented affordances instead of device-oriented APIs. A working model based on this approach is offered, examples given, and areas of related work identified.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"59 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134439945","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Composition of engineering web services with universal distributed data-flows framework based on ROA 基于ROA的通用分布式数据流框架下的工程web服务组合
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307830
Kewei Duan, J. Padget, H. A. Kim, H. Hosobe
The problem of staging data in workflows has received much attention over the last decade, with a variety of user-directed and automatic solutions. The latter are the focus of the first contribution in this paper, where we propose a simple peer-to-peer solution adapted to the needs of RESTful services. The second contribution, is the combination of the data staging mechanism with a simple service deployment mechanism, that is designed to allow applications developed for the command-line to function as (RESTful) services without modification or (in some cases) recompilation. Thus, the aim of this paper is to describe the design and implementation of: (i) a peer-to-peer data-staging mechanism, that is itself RESTful, and (ii) a service deployment mechanism, also following REST design principles, which together form the Universal Distributed Data-flows framework, for the support of data-intensive (RESTful) workflows. We evaluate the framework by means of an engineering workflow developed for multi-disciplinary design optimization. The workflow itself is specified in Taverna, which is a conventional centralized data-staging enactment system. However, by virtue of the underlying services and staging mechanisms described here, the resulting enactment is peer-to-peer (for data), which furthermore permits asynchronous staging, with potential benefits for network utilization and end-to-end execution time.
在过去十年中,工作流中的数据分段问题受到了广泛关注,有各种用户导向的和自动的解决方案。后者是本文第一篇文章的重点,我们提出了一个简单的点对点解决方案,以适应RESTful服务的需求。第二个贡献是将数据staging机制与简单的服务部署机制相结合,该机制旨在允许为命令行开发的应用程序作为(RESTful)服务运行,而无需修改或(在某些情况下)重新编译。因此,本文的目的是描述以下设计和实现:(i)点对点数据分级机制,它本身是RESTful的;(ii)服务部署机制,也遵循REST设计原则,它们一起形成通用分布式数据流框架,以支持数据密集型(RESTful)工作流。我们通过为多学科设计优化而开发的工程工作流来评估该框架。工作流本身是在Taverna中指定的,Taverna是一个传统的集中式数据分级制定系统。然而,由于这里描述的底层服务和分段机制,最终的实施是点对点的(对于数据),这进一步允许异步分段,对网络利用率和端到端执行时间有潜在的好处。
{"title":"Composition of engineering web services with universal distributed data-flows framework based on ROA","authors":"Kewei Duan, J. Padget, H. A. Kim, H. Hosobe","doi":"10.1145/2307819.2307830","DOIUrl":"https://doi.org/10.1145/2307819.2307830","url":null,"abstract":"The problem of staging data in workflows has received much attention over the last decade, with a variety of user-directed and automatic solutions. The latter are the focus of the first contribution in this paper, where we propose a simple peer-to-peer solution adapted to the needs of RESTful services. The second contribution, is the combination of the data staging mechanism with a simple service deployment mechanism, that is designed to allow applications developed for the command-line to function as (RESTful) services without modification or (in some cases) recompilation. Thus, the aim of this paper is to describe the design and implementation of: (i) a peer-to-peer data-staging mechanism, that is itself RESTful, and (ii) a service deployment mechanism, also following REST design principles, which together form the Universal Distributed Data-flows framework, for the support of data-intensive (RESTful) workflows. We evaluate the framework by means of an engineering workflow developed for multi-disciplinary design optimization. The workflow itself is specified in Taverna, which is a conventional centralized data-staging enactment system. However, by virtue of the underlying services and staging mechanisms described here, the resulting enactment is peer-to-peer (for data), which furthermore permits asynchronous staging, with potential benefits for network utilization and end-to-end execution time.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"160 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130045989","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Case Study: Extracting a resource model from an object-oriented legacy application 案例研究:从面向对象的遗留应用程序中提取资源模型
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307825
C. Szymanski, Silvia Schreier
Many companies have invested in legacy applications and want to benefit from the interoperability that the architectural style Representational State Transfer (REST) offers without redeveloping their software. One of the crucial parts when adding a REST interface to an existing application is creating an appropriate resource model. Utilizing any available model of the legacy application can accelerate development significantly because existing domain knowledge, data, and business process implementations can be reused. Despite the maturity of the architectural style, there is still little record of creating a resource model from existing object-oriented applications. This article presents a lightweight modeling process: First we harvest an existing object model for resource candidates, afterwards the resulting model is enhanced incrementally until a suitable resource model emerges. The process is illustrated by a case study that highlights interesting challenges, such as a comprehensive domain model and long running processes, as well as pragmatic solutions for these challenges. The paper demonstrates that it is feasible to add a RESTful interface to a legacy application even in a process rich environment.
许多公司已经在遗留应用程序上进行了投资,并希望在不重新开发软件的情况下,从体系结构风格具象状态传输(Representational State Transfer, REST)提供的互操作性中获益。在向现有应用程序添加REST接口时,关键部分之一是创建适当的资源模型。利用遗留应用程序的任何可用模型都可以显著加快开发速度,因为可以重用现有的领域知识、数据和业务流程实现。尽管体系结构风格已经成熟,但是从现有的面向对象应用程序创建资源模型的记录仍然很少。本文介绍了一个轻量级的建模过程:首先,我们为候选资源获取一个现有的对象模型,然后逐步增强结果模型,直到出现合适的资源模型。该过程通过一个案例研究来说明,该案例研究突出了有趣的挑战,例如全面的领域模型和长时间运行的过程,以及针对这些挑战的实用解决方案。本文证明,即使在流程丰富的环境中,向遗留应用程序添加RESTful接口也是可行的。
{"title":"Case Study: Extracting a resource model from an object-oriented legacy application","authors":"C. Szymanski, Silvia Schreier","doi":"10.1145/2307819.2307825","DOIUrl":"https://doi.org/10.1145/2307819.2307825","url":null,"abstract":"Many companies have invested in legacy applications and want to benefit from the interoperability that the architectural style Representational State Transfer (REST) offers without redeveloping their software. One of the crucial parts when adding a REST interface to an existing application is creating an appropriate resource model. Utilizing any available model of the legacy application can accelerate development significantly because existing domain knowledge, data, and business process implementations can be reused. Despite the maturity of the architectural style, there is still little record of creating a resource model from existing object-oriented applications. This article presents a lightweight modeling process: First we harvest an existing object model for resource candidates, afterwards the resulting model is enhanced incrementally until a suitable resource model emerges. The process is illustrated by a case study that highlights interesting challenges, such as a comprehensive domain model and long running processes, as well as pragmatic solutions for these challenges. The paper demonstrates that it is feasible to add a RESTful interface to a legacy application even in a process rich environment.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133361359","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
What if the web were not RESTful? 如果web不是rest式的呢?
Pub Date : 2012-04-17 DOI: 10.1145/2307819.2307823
C. Davis
So-called RESTful services are in widespread use both on the Web, and increasingly, in large enterprises. We say "so-called" because in reality, most of these services are not very RESTful. Those active in the REST community know well where these interfaces fail to meet REST principles, however, true understanding remains only in this relatively small community. Unfortunately, the result is a set of interfaces that are ultimately limited in their use, and the deficiencies are not usually recognized until it is too late to make the necessary changes. Our experience has shown that individuals are not being deliberately neglectful, rather, they simply do not know what they do not know. Everyone thinks they "get REST", after all, using HTTP to move XML or JSON payloads over the network is very simple. We have found that most individuals begin to understand the nuances of REST when they are explained and they almost always ask for resources that further explain these concepts. Certainly, materials are available, however the best ones are rather substantial in size lessening the chance that many people will read them. In this paper we take a fresh approach to explaining the core principles of REST, by describing a World Wide Web that fails to meet these tenets. We look at each key element, resource orientation, the uniform interface, media types and hyperlinking, and imagine the consequences of not abiding by the REST architectural style on the end user or tools developer of the Web. We then do a similar analysis in the context of Web services and programmatic consumers, reexamining each REST characteristic, describing common mistakes and suggesting improvements. We have found that in discussions, the analogy of the World Wide Web has been very effective at explaining REST.
所谓的RESTful服务在Web上广泛使用,并且越来越多地在大型企业中使用。我们说“所谓的”,是因为实际上,这些服务中的大多数都不是很RESTful。那些活跃于REST社区的人很清楚这些接口在哪里不符合REST原则,然而,真正的理解只存在于这个相对较小的社区中。不幸的是,结果是一组接口的使用最终受到限制,并且通常直到进行必要的更改时才发现缺陷。我们的经验表明,个人并不是故意忽视,相反,他们只是不知道他们不知道的东西。每个人都认为他们“得到了REST”,毕竟,使用HTTP在网络上移动XML或JSON有效负载是非常简单的。我们发现,大多数人在被解释后才开始理解REST的细微差别,他们几乎总是要求获得进一步解释这些概念的资源。当然,材料是可用的,但是最好的材料在尺寸上相当大,减少了许多人阅读它们的机会。在本文中,我们通过描述一个不符合这些原则的万维网,采用一种新的方法来解释REST的核心原则。我们将查看每个关键元素、资源方向、统一接口、媒体类型和超链接,并想象不遵守REST体系结构风格对Web的最终用户或工具开发人员的影响。然后,我们在Web服务和程序化消费者的上下文中进行类似的分析,重新检查每个REST特征,描述常见错误并提出改进建议。我们发现,在讨论中,万维网的类比对于解释REST非常有效。
{"title":"What if the web were not RESTful?","authors":"C. Davis","doi":"10.1145/2307819.2307823","DOIUrl":"https://doi.org/10.1145/2307819.2307823","url":null,"abstract":"So-called RESTful services are in widespread use both on the Web, and increasingly, in large enterprises. We say \"so-called\" because in reality, most of these services are not very RESTful. Those active in the REST community know well where these interfaces fail to meet REST principles, however, true understanding remains only in this relatively small community. Unfortunately, the result is a set of interfaces that are ultimately limited in their use, and the deficiencies are not usually recognized until it is too late to make the necessary changes. Our experience has shown that individuals are not being deliberately neglectful, rather, they simply do not know what they do not know. Everyone thinks they \"get REST\", after all, using HTTP to move XML or JSON payloads over the network is very simple. We have found that most individuals begin to understand the nuances of REST when they are explained and they almost always ask for resources that further explain these concepts. Certainly, materials are available, however the best ones are rather substantial in size lessening the chance that many people will read them.\u0000 In this paper we take a fresh approach to explaining the core principles of REST, by describing a World Wide Web that fails to meet these tenets. We look at each key element, resource orientation, the uniform interface, media types and hyperlinking, and imagine the consequences of not abiding by the REST architectural style on the end user or tools developer of the Web. We then do a similar analysis in the context of Web services and programmatic consumers, reexamining each REST characteristic, describing common mistakes and suggesting improvements. We have found that in discussions, the analogy of the World Wide Web has been very effective at explaining REST.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"78 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131461828","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 12
Hecate, managing authorization with RESTful XML 现在,用RESTful XML管理授权
Pub Date : 2011-03-28 DOI: 10.1145/1967428.1967442
Sebastian Graf, Vyacheslav Zholudev, L. Lewandowski, M. Waldvogel
The potentials of REST offers new ways for communications between louse coupled entities featured through the Web of Things [12]. The binding of the disjunct components of this architecture creates security issues, such as the centralized authorization techniques respecting the independence of the underlying entities. This results in the question how authorization is performed respecting the flexibility of REST without any knowledge about the underlying resources. Nevertheless, possible knowledge about these resources should enable the authorization workflow to offer finer-granular permissions on substructures of the resources. With our new approach - we named Hecate- we offer a framework to assure simplified handling while keeping the potentials and flexibility of REST. We have designed an architecture based on XML with a flexible authorization mechanism on the one hand and optional resource-awareness on the other hand. The flexibility within the authorization work-flow bases on permission sets respecting the HTTP-verbs. Additional in-depth knowledge of the entity optionally extends these permissions with resource-aware filters. Hecate offers not only great benefits because of its flexibility, but also because of the optional extensibility proved within the two reference implementations. With Hecate, we show that a centralized authorization mechanism combining independence and optional resource-based filtering extends the flexibility of REST rather than restricting it.
REST的潜力为通过物联网特征的松散耦合实体之间的通信提供了新的方式[12]。此体系结构的分离组件的绑定会产生安全问题,例如,尊重底层实体独立性的集中授权技术。这就产生了这样一个问题:在不了解底层资源的情况下,如何根据REST的灵活性执行授权。然而,关于这些资源的可能知识应该使授权工作流能够对资源的子结构提供更细粒度的权限。通过我们的新方法——我们命名为Hecate——我们提供了一个框架来确保简化处理,同时保持REST的潜力和灵活性。我们设计了一个基于XML的体系结构,一方面具有灵活的授权机制,另一方面具有可选的资源感知。授权工作流中的灵活性基于http谓词的权限集。对实体的进一步深入了解可选择地使用资源感知过滤器扩展这些权限。Hecate提供了巨大的好处,不仅因为它的灵活性,还因为在两个参考实现中证明了可选的可扩展性。通过Hecate,我们展示了一种集中的授权机制,它结合了独立性和可选的基于资源的过滤,扩展了REST的灵活性,而不是限制它。
{"title":"Hecate, managing authorization with RESTful XML","authors":"Sebastian Graf, Vyacheslav Zholudev, L. Lewandowski, M. Waldvogel","doi":"10.1145/1967428.1967442","DOIUrl":"https://doi.org/10.1145/1967428.1967442","url":null,"abstract":"The potentials of REST offers new ways for communications between louse coupled entities featured through the Web of Things [12]. The binding of the disjunct components of this architecture creates security issues, such as the centralized authorization techniques respecting the independence of the underlying entities. This results in the question how authorization is performed respecting the flexibility of REST without any knowledge about the underlying resources. Nevertheless, possible knowledge about these resources should enable the authorization workflow to offer finer-granular permissions on substructures of the resources. With our new approach - we named Hecate- we offer a framework to assure simplified handling while keeping the potentials and flexibility of REST. We have designed an architecture based on XML with a flexible authorization mechanism on the one hand and optional resource-awareness on the other hand. The flexibility within the authorization work-flow bases on permission sets respecting the HTTP-verbs. Additional in-depth knowledge of the entity optionally extends these permissions with resource-aware filters. Hecate offers not only great benefits because of its flexibility, but also because of the optional extensibility proved within the two reference implementations. With Hecate, we show that a centralized authorization mechanism combining independence and optional resource-based filtering extends the flexibility of REST rather than restricting it.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"120983193","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 14
A RESTful implementation of the WS-agreement specification ws -协议规范的RESTful实现
Pub Date : 2011-03-28 DOI: 10.1145/1967428.1967444
Roland Kübert, G. Katsaros, Tinghe Wang
Representational State Transfer (REST) is an architectural style for distributed systems. RESTful web services have been gaining popularity in the last years. The Java API for RESTful Web Services (JAX-RS) has been specified as Java Specification Request 311 and is therefore an official part of Java; with the Jersey framework, a robust reference implementation of the specification exists. We examine in how far RESTful web services can fulfill tasks that have been defined as WS-* specifications. In particular, we investigate how a RESTful design and implementation of the WS-Agreement specification can be realized, presenting a light-weight approach to the creation and management of service level agreements.
Representational State Transfer (REST)是分布式系统的一种架构风格。rest式web服务在过去几年中越来越受欢迎。RESTful Web服务的Java API (JAX-RS)已被指定为Java规范请求311,因此是Java的正式组成部分;有了Jersey框架,就有了规范的健壮参考实现。我们将研究RESTful web服务在多大程度上可以完成定义为WS-*规范的任务。特别地,我们研究了如何实现WS-Agreement规范的RESTful设计和实现,提出了一种轻量级的方法来创建和管理服务水平协议。
{"title":"A RESTful implementation of the WS-agreement specification","authors":"Roland Kübert, G. Katsaros, Tinghe Wang","doi":"10.1145/1967428.1967444","DOIUrl":"https://doi.org/10.1145/1967428.1967444","url":null,"abstract":"Representational State Transfer (REST) is an architectural style for distributed systems. RESTful web services have been gaining popularity in the last years. The Java API for RESTful Web Services (JAX-RS) has been specified as Java Specification Request 311 and is therefore an official part of Java; with the Jersey framework, a robust reference implementation of the specification exists. We examine in how far RESTful web services can fulfill tasks that have been defined as WS-* specifications. In particular, we investigate how a RESTful design and implementation of the WS-Agreement specification can be realized, presenting a light-weight approach to the creation and management of service level agreements.","PeriodicalId":268294,"journal":{"name":"International Workshop on RESTful Design","volume":"74 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2011-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127768706","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 28
期刊
International Workshop on RESTful Design
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1