Design Issue: Service layer/ trying to maintain RESTful architecture
I’m trying to design a web-application – and after doing a lot of reading on REST + design patterns, I’m at a loss on how to handle my requirements. I think I may be getting caught-up in all the design-patterns, but at the same time want to produce a well-architect-ed design.
Is POST for an element generally not exposed or invalid in REST APIs?
I was browsing around wikipedia on REST, reading specifically the section on REST APIs
Is POST for an element generally not exposed or invalid in REST APIs?
I was browsing around wikipedia on REST, reading specifically the section on REST APIs
HasMany RESTfull Implementation
So I’ve been reading a lot on RESTfull design – specifically dealing with resources.
HasMany RESTfull Implementation
So I’ve been reading a lot on RESTfull design – specifically dealing with resources.
HasMany RESTfull Implementation
So I’ve been reading a lot on RESTfull design – specifically dealing with resources.
Applying DDD principles in a RESTish web service
I am developing an RESTish web service. I think I got the idea of the difference between aggregation and composition. Aggregation does not enforce lifecycle/scope on the objects it references. Composition does enforce lifecycle/scope on the objects it contain/own.
Django REST + Backbone/Ember/Angular Implementation Method
https://stackoverflow.com/questions/10941249/separate-rest-json-api-server-and-client
Can REST, Ajax and jQuery work well together?
I’m trying to use REST (usign spring MVC) as my Ajax backend but got some problems when using it with jQuery. REST best pratices recommend using HTTP status code, e.g. 200, 403, 401, etc, and I have no problem with a 200 status code, jQuery’s ajax method have a done(data) callback that let me read the reponse in json format. But when I need to return some error in json format along with the status code, I got stucked. The fail(jqXHR, textStatus) callback doesn’t seem to support json in the response. So if I return JSON from the serverside, it will be put in jqXHR.reponseText and treated as plaintext instead.
Can REST, Ajax and jQuery work well together?
I’m trying to use REST (usign spring MVC) as my Ajax backend but got some problems when using it with jQuery. REST best pratices recommend using HTTP status code, e.g. 200, 403, 401, etc, and I have no problem with a 200 status code, jQuery’s ajax method have a done(data) callback that let me read the reponse in json format. But when I need to return some error in json format along with the status code, I got stucked. The fail(jqXHR, textStatus) callback doesn’t seem to support json in the response. So if I return JSON from the serverside, it will be put in jqXHR.reponseText and treated as plaintext instead.