1 karma · joined Jul 11, 2012 (14y ago) · 6 submissions
comment 14y ago · link · parent
You can't totally decouple the clients; they have to understand in some way the vocabulary the server is using, but you can do a lot to decouple them from the structure of the markup.
comment 14y ago · link · parent
HAL is going for "start with something clean for machines (JSON and XML), layer in hypermedia, get people to adopt it." This seems like a perfectly reasonable approach.
I'm suggesting another approach, which is "start with something that supports hypermedia and is already ubiquitous on the web, and figure out how to get machines to make sense of it."
I'm not sure either one is easy, so it's worth having multiple horses in the race, I think.