Re: Re: Internet-Draft: JSON Hypertext Application Language

Mike Kelly <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <CANqiZJZFBY0EzCs0296Wze37rdz=AP5772YK0HfJpSbdpUXX8g@mail.gmail.com>
On Fri, Jun 8, 2012 at 4:48 PM, François Verry <[email protected]> wrote:

> **
>
>
> > I think having them as two distinct elements improves the aesthetics
> of the type and doesn't add too much in terms of additional complexity.
>
> I get it. Then it answers my underlying question, about wether
> implementations could actually treat links and resources through a
> common object model.
>

Encoding a hal document into a Data URI and using that  does present a way
of being able to achieve something similar but with obvious drawbacks.

As I said, I did start out with this goal but in practice it is difficult
to incorporate in a way that both useful in practice and doesn't create a
lot of complexity. It's possible that a future media type could further
constrain hal and bridge this gap, but for now it is too costly.

Cheers,
M
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.