Skip to content

Work Flow

Alen Thomas edited this page Sep 5, 2016 · 1 revision

Working with API's

We'll try to stick with Restful practices as much as we can. So here is the getting started info...

  1. At a glance will expose the API data as JSON.
  2. The data-fields marked in italics will be cached/used by the mobile-end to perform further Rest API queries.
  3. Detail View will leverage the data-field values from the above and perform subsequent API queries.

Eg: In android:

  1. URI API will be hard-coded as Strings.
  2. We'll use Async-Task or Volley to perform the HTTP request to our back-ends.
  3. The JSON data returned from the above step will be cached/used to perform further HTTP requests.
  4. Say movie-id returned in step 2 will be used to make a new /api/v1/movie/*movie-id*/detail/ HTTP request.

Note: This is the basic intended work-flow. Suggestions and comments are welcome.

Clone this wiki locally