このページは2007年 5月 10日, 14:06に更新されました by SteveB

REST Patterns

From $1

目次
ヘッダーがありません


REST can be applied to many circumstances, but as with most things, certain common patterns emerge over time.  The following list of patterns helps promote design uniformity across projects and establishes a common terminology.


Pattern Description
Behavior
The behavior pattern applies to resources that carry out operations.  These resources have generally no state of their own and only support the POST operation.
Container
The container pattern builds on the entity pattern by providing the means to dynamically add and/or update nested resources.
Entity
The entity pattern applies to resources that can be read with a GET operation, but can only be changed by PUT and DELETE operations.


TODO:

  • Transaction
  • Container vs. Store (latter allows entries to be created & updated with PUT)
 
コメント(0)
あなたはコメントを投稿するには ログイン しなければなりません。