Hacker News new | ask | show | jobs
by jonny_noog 6334 days ago
Is that you, Sho Fukamachi? The Guyver? If so, fancy running into you here! :) How have you been?

I'm working on my first Rails project at the moment and, as an exercise more than anything else, have been trying to keep things RESTful as much as possible. I am finding it quite difficult in some more complex situations to keep so strictly to the RESTful ideal and find that I must sometimes stray in deference to the way I want the UI to behave. Do you find that you need to stray out of the strict 7 actions when things like complex model relationships, user access control and AJAX come into the equation?

But yeah, I've also made my choice, for the foreseeable future, Ruby is for me, so Rails it is.

1 comments

Lol, hi Jonny, small world isn't it...

Well, I've never been a huge fan of REST when it comes to user-facing web pages. The "big 7" verbs seem to me to be limited and arbitrary, and while very interesting as a kind of natural API I don't use it for browser pages.

I think Rails over-hypes "REST everywhere" and if you don't have a clear use case, I'd forget about it, at least on "normal" pages. Trying to unify API access and normal web pages seems pointless to me. I also have other concerns, which I funnily enough wrote about:

http://fukamachi.org/wp/2008/04/01/restful-confusion/

Good to see you, look forward to seeing the fruits of your labour!