I mentioned this in another thread, but I’ve got a formal request now.
After reading tons of stuff about REST, I don’t really get it. I
need to see an example.
I’d like someone to write up an example blog app with these requirements
- RESTful using the simply_restful plugin (or edge rails)
- allows posting of comments to articles
- has categories for posts
No need for authentication.
I have two questions that would be answered by that example app. The
first is just how to use simply_restful in the first place. I also
wonder how you’re supposed to use REST when the only thing interesting
about a particular resource is its associations. i.e. does
http://myapp/category/1 just display a list of posts in that category?
This may go unnoticed, I’m not sure. I already tried to start this on
my own so I could figure it out…but I got stuck very early on. I’d
find that example app very illuminating. If someone with the knowhow
could take the time to do this, I’d be very appreciate, as would many
others I’m sure.