Skip to content

Lesson 3A: Serve your data in many different flavors

Arnoud de Boer edited this page Apr 17, 2016 · 24 revisions

So many developers and devices, so many flavors. Serve your data in as many flavors as possible to reach the widest possible audience.

#####Why

In most of the cases the scope of the project limits as much as possible to 1. If that's so, you should temper your expectations of adoption and make sure you leave room for future formats right from the beginning. This can be achieved by defining a good content-negotiation strategy.

#####Intended outcome Make it flexible to switch between different flavors to serve the large set of unknown developers and devices.

#####Possible approach Use:

  • Content-negotation using accept-headers
  • Parametrized formats and selection queries

#####How to test

#####Evidence

Clone this wiki locally