-
Notifications
You must be signed in to change notification settings - Fork 0
Work Flow
Alen Thomas edited this page Sep 5, 2016
·
1 revision
We'll try to stick with Restful practices as much as we can. So here is the getting started info...
- At a glance will expose the API data as JSON.
- The data-fields marked in italics will be cached/used by the mobile-end to perform further Rest API queries.
- Detail View will leverage the data-field values from the above and perform subsequent API queries.
Eg: In android:
- URI API will be hard-coded as Strings.
- We'll use Async-Task or Volley to perform the HTTP request to our back-ends.
- The JSON data returned from the above step will be cached/used to perform further HTTP requests.
- 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.
made with ♥ by kozhikodens