1.

What Are The Best Practices To Design A Resource Representation?

Answer»

FOLLOWING are important points to be considered while designing a representation format of a resource in a RESTful web services:

  • Understandability − Both Server and Client should be able to understand and utilize the representation format of the resource.
  • Completeness − Format should be able to represent a resource completely. For example, a resource can contain ANOTHER resource. Format should be able to represent SIMPLE as well as COMPLEX structures of resources.
  • Linkablity − A resource can have a LINKAGE to another resource, a format should be able to handles such situations.

Following are important points to be considered while designing a representation format of a resource in a RESTful web services:



Discussion

No Comment Found