推荐一个老外的spring HATEOAS的demo

  今天遇到个新词,spring  HATEOAS,一看就知道是spring支持的项目,再查询下
居然 HATEOAS这个词是跟REST有关系的,但可惜中文资料少,只能找到英文的资料:

http://en.wikipedia.org/wiki/HATEOAS

HATEOAS, an abbreviation for Hypermedia as the Engine of Application State, is a constraint of the REST application architecture that distinguishes it from most other network application architectures. The principle is that a client interacts with a network application entirely through hypermedia provided dynamically by application servers. A REST client needs no prior knowledge about how to interact with any particular application or server beyond a generic understanding of hypermedia. Contrast this with e.g. a service-oriented architecture (SOA), where clients and servers interact through a fixed interface shared through documentation or an interface description language (IDL).
The HATEOAS constraint serves to decouple client and server in a way that allows the server to evolve functionality independently.

超媒体即引用状态引擎(Hypermedia As The Engine Of Application State,缩写为HATEOAS)

找了下,一个不错的中文简介见这个连接:
http://www.cnblogs.com/tyb1222/archive/2011/12/13/2286621.html

而这个老外
http://blog.codecentric.de/en/2013/01/a-real-roca-using-bootstrap-jquery-thymeleaf-spring-hateoas-and-spring-mvc/

则使用bootstrap,jquery,thymleaf,spring hateoas springmvc实现了一个DEMO,
具体代码可以在:
https://github.com/tobiasflohre/movie-database
下载

你可能感兴趣的:(spring,hateoas)