mercredi 6 janvier 2016

Two request at same route emberjs 2

This is my scenario.

  1. User zipcode and name location
  2. Load from a API the location list
  3. Show the place list for user pick the right
  4. Then bind data to complete registration

First I tried a modal as component. After I see this is incorrect, then I moved to ember-data and do this on the route. I create a ember-data for location list (which be a component) and other for register values. I create the adapter and a serializer. So I completely lost what do next. How I do this, using a ember-data to search places(a GET) and a registration(POST) on the API?




Aucun commentaire:

Enregistrer un commentaire