2,927 reputation
1319
bio website
location United States
age
visits member for 3 years, 11 months
seen Mar 7 at 12:25

Aug
15
awarded  Nice Answer
Aug
11
awarded  Good Answer
Apr
12
awarded  Popular Question
Jan
9
awarded  Self-Learner
Nov
27
awarded  Yearling
Oct
19
comment When to use nested resources in a RESTful API
@Aaronaught: I might have misunderstood your concern. Supposing /links supports a query interface, /links?user=/users/123 permits a black-box approach to resource identifiers in clients that /links?userid=123 does not. the latter requires the client understand what a userid is and how to get it, presumably out of the resource it obtained from /users/123 or /links/456/user. The former means the client can use the uri unmodified; supposing the /links/.../user gives a hypermedia response (say, with Location: headers).
Oct
19
comment When to use nested resources in a RESTful API
@Aaronaught: the reason to stick to uri's instead of bare ids is so that clients can treat all resource identifiers equally, that is a client need only know that 'this user is identified by "/*******"; where the *'s are opaque. but that same identifier can always be used to refer to that resource (as in, with links), to fetch the most current version of that resource, and so on. the content of that uri is only understood by the origin server. This also means that if the identifiers need to change, say /realm/:businessid/users/:id, the client doens't change at all.
Oct
8
awarded  Notable Question
Mar
20
awarded  Guru
Nov
27
awarded  Yearling
Oct
27
awarded  Nice Answer
Oct
23
awarded  Popular Question
Jul
10
comment Are the only types of data “sources” static and dynamic?
@Secure: a datam is not equivalent to statements; they are always measurements or observations. As such, a datum cannot prove its own truth; A temperature reading does not itself have a temperature, and it would not be "More true" were that sensible. "According to my iPhone, the temperature is 73 degrees Farenheight (but its usually wrong anyway)"
May
24
awarded  Scholar
May
24
accepted Thick models Vs. Business Logic, Where do you draw the distinction?
May
24
accepted browser syntax highlighting
May
24
accepted Using JOIN keyword or not
May
23
awarded  Taxonomist
Apr
12
awarded  Pundit
Apr
12
awarded  Enlightened