今天在搜索结合restful与hibernate的程序设计时,发现了Playframework,初看了下介绍和有关讨论,感觉该框架很有实用价值,决定一试。
关于restful的一些想法:
Give every “thing” an ID Link things together Use standard methods Resources with multiple representations Communicate statelessly
“标识所有值得标识的事物”值得的标准是什么?如何掌握粒度?
Restful的是资源,资源与持久化的对象应该如何对应与转化?