《用 HTML5 和 Node 构建超媒体 API》封面

用 HTML5 和 Node 构建超媒体 API

Building Hypermedia APIs with HTML5 and Node

Michael Amundsen · 初版 2011 年

2人推荐
2位读者提及
3次提及

你将学会构建不仅运行于 Web 之上、而是真正存在于 Web 之中的超媒体 API 的艺术。你将首先了解这一架构方法背后的通用原则与技术,然后通过动手实践深入探索三个功能完备的 API 示例。有太多的 API 过于依赖根植于桌面和局域网模式的理念,这些理念难以扩展——属于成本高昂且长期难以维护的解决方案。本书将向系统架构师和 Web 开发者展示,如何设计并实现兼具人类与机器可读性、且随着时间推移依然保持稳定和灵活的 Web 服务,因为

Hacker News 上怎么说

  • 《REST in Practice》[1]、《Building Hypermedia APIs with HTML5 and Node》[2] 和《Designing Hypermedia APIs》[3]。1. https://www.amazon.com/REST-Practice-Hypermedia-Systems-Arch... 2. https://www.amazon.com/Building-Hypermedia-APIs-HTML5-Node/d... 3. http://www.designinghypermediaapis.com/

    REST in Practice[1], Building Hypermedia APIs with HTML5 and Node[2] and Designing Hypermedia APIs[3]. 1. https://www.amazon.com/REST-Practice-Hypermedia-Systems-Arch... 2. https://www.amazon.com/Building-Hypermedia-APIs-HTML5-Node/d... 3. http://www.designinghypermediaapis.com/

  • ……底层 JSON-LD,不知道能不能把 C+J 和 LD 的理念融合在一起。Mike Amundsen 最近的新书《Building Hypermedia APIs with HTML5 and Node》对超媒体控件涉及的宏观概念做了扎实的探讨:http://shop.oreilly.com/product/0636920020530.do 其核心思想是,正如 Fielding 所说,HATEOAS 是 REST 中不容忽视的一个方面。拥有定义良好的超媒体控件的标准化 media types……

    …underlying JSON-LD, and wonder if the C+J and LD ideas could be melded together. A solid exploration of the larger concepts involved in hypermedia controls can be found in Mike Amundsen's recent book: Building Hypermedia APIs with HTML5 and Node http://shop.oreilly.com/product/0636920020530.do The basic idea is that, per Fielding, HATEOAS is an aspect of REST that shouldn't be ignored. Standardized media types with well-defined hypermedia controls…

  • ……应用级配置文件语义(Application-Level Profile Semantics)http://amundsen.com/hypermedia/profiles/ 通过利用 API 的部分或全部细节,机器对机器(machine-to-machine)的逻辑开发起来会相当轻松。Mike Amundsen 在他最近出版的《Building Hypermedia APIs with HTML5 and Node》一书中,演示了一个“微博客机器人”的例子,该机器人消费的就是一个符合 ALPS 文档详述的语义配置文件的 API。这个机器人(用 JavaScript 编写),仅仅知道……

    …Application-Level Profile Semantics http://amundsen.com/hypermedia/profiles/ By leveraging some or all of the details of the API, machine-to-machine logic can be developed fairly easily. In his recent book Building Hypermedia APIs with HTML5 and Node, Mike Amundsen demonstrates an example of a "microblogging bot" that consumes an API conforming to the semantic profile detailed in the ALPS document. The bot (written in JavaScript), knowing only the…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助