@Mofungo wrote:
I like Ember a lot…
But, I’m worried about transitioning to it. I work on a data-heavy site that is ~300 jsp pages. We need to get out from under jsp and into a framework that will bring structure, separation of concerns & modern JS goodness to our messy world.
Here’s what I’m afraid of: Ember data pretty much insists on APIs that are actually RESTful . Some of our APIs are, some are not. The APIs that back our simple pages return lists of items from: /api/stuff/. I can PUT to /api/stuff/33, but I can’t GET /api/stuff/33. GET for a single record returns a 503. :-/
On page load, some of our pages make 12 sequential ajax calls, sometimes munging the data in the success handler of one call before making the next.
I’m sure that if I could get the back-end devs to clean up the APIs, we could build on ember and ultimately have a much better product. But, this would be lots of work, and hard to make happen. Without APIs that are actually restful, I suspect I’m going have a very painful road ahead going with Ember & ember data.
Thoughts?
Posts: 6
Participants: 5