nitter
Stefan Tilkov
@stilkov
20 Dec 2012
+1 RT
@mikekelly85
: Hypermedia APIs on Rails: why
@dhh
should “give a fk”
blog.stateless.co/post/38378…
Dec 20, 2012 · 12:49 PM UTC
1
1
5
Load newest
DHH
@dhh
20 Dec 2012
Replying to
@NicerInPerson
@mikekelly85
@stilkov
I don't think the comparison is valid, no. Route helpers is not primarily for "moving URLs around". Cleaner code, thou
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
Agree that it's a nice practice but benefits are overblown. We've had public APIs for YEARS w/o breakage
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
"almost always lead to disaster" doesn't match any experience I've had with using IDs.
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
Basecamp's API is close to 8 years old. Hasn't broken any URLs.
1
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
Same goes for lots of other stable, long-running APIs. See Flickr, for example. Even REST is overrated.
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
(The public benefits of REST, that is. I think it's a wonderful app design technique, though).
DHH
@dhh
20 Dec 2012
@steveklabnik
@mikekelly85
@stilkov
Have you personally felt the pain of breaking a lot of API urls? Do you have some links to this hurt?
DHH
@dhh
20 Dec 2012
Replying to
@NicerInPerson
@mikekelly85
@steveklabnik
@stilkov
Ha. I think it's great. Forces the point to be distilled. Less room for hand-waving.
Xavier Noria
@fxn
20 Dec 2012
@steveklabnik
@dhh
@mikekelly85
@stilkov
I believe that works for the use case where you can blindly automate URL extraction in the client
roberto.guerra
@robertoguerra19
20 Dec 2012
@steveklabnik When Hypermedia discussion is watered down 2 URLs it means someone does not understand Hypermedia. U will just get frustrated.
Load more