On using JSON-LD to create evolvable RESTful services

Markus Lanthaler, C. Gütl
{"title":"On using JSON-LD to create evolvable RESTful services","authors":"Markus Lanthaler, C. Gütl","doi":"10.1145/2307819.2307827","DOIUrl":null,"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.0000,"publicationDate":"2012-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"138","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on RESTful Design","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2307819.2307827","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 138

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.
关于使用JSON-LD创建可演化的RESTful服务
随着Web上的数据和设备数量呈指数级增长,如何将如此庞大的异构组件集成到可伸缩系统中的问题变得越来越重要。REST已被证明是这种大规模信息系统的可行解决方案。它提供了一组体系结构约束,当将这些约束作为一个整体应用时,会在松耦合、可维护性、可演化性和可伸缩性方面带来好处。不幸的是,REST的一些约束,如要求自描述消息或要求使用超媒体作为应用程序状态引擎的约束,很少得到正确实现。这将导致紧密耦合的系统,从而导致脆弱的系统。为了解决这些问题和其他问题,我们提出了JSON-LD,这是一个社区努力标准化的媒体类型,目标是机器对机器通信,具有固有的超媒体支持和丰富的语义。由于JSON- ld与传统JSON 100%兼容,开发人员可以继续使用他们现有的工具和库。正如我们在本文中所展示的,JSON-LD可以用来构建真正的RESTful服务,同时将公开的数据集成到语义Web中。在松耦合、可演化性、可伸缩性、自描述性和可维护性方面可实现的好处大大超过了所需的额外设计成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信