rest - AtomPub Categories: When to use them? -
i want know when it´s useful use categories in atompub protocol.
we have historic list of moves stored in database. want publish them clients interest in getting complete list of moves.
we have 3 types of moves
- insert
- delete
- special insert
in future more type of moves.
we have 2 ways:
first one: publish moves , put field in content of atomentry identify type of move
<entry> .... <content> <move> <type>delete</type> </move> </entry>
2nd one: use categories
which 1 best choice? pro/cons see between both?
thanks!
Comments
Post a Comment