Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Those are structurally identical but they’re not semantically identical and the structure implies semantic equivalence.

    No, it doesn’t. It’s OK for humans to hack URIs, but programs should only ever follow links and leave the link structure of the site to the server’s whims. As far as programmatic user agents are concerned, URIs are completely opaque. This is the centrepiece of REST.

    (I agree with your URI structure change anyway, though, for personal URI style reasons.)

    • We'll have to disagree on this one. For one thing, if I ever add a REST interface, I think this is an important distinction for folks. Generally, REST is something which you have to program; you can't just point a client at your site and hope it works. Thus, you want to make things as easy for the programmer to understand as possible. Second, it's important in general. People love to just slap crap into their URIs without considering structure. That's one of the many reasons why we get so many awful Web sites.

      • We cannot disagree, because the points you are talking about have nothing whatsoever to do with Representational State Transfer in the first place.

        REST is something which you have to program; you can’t just point a client at your site and hope it works.

        Sure I can. It depends on what level of expectations you have. A web proxy, f.ex., works regardless of whether it’s proxying requests to Google, Amazon or your private homepage. That works because it’s built to the web’s architecture,