[EMAIL PROTECTED] writes: > Piers Cawley wrote: >> "Scott Laird" <[EMAIL PROTECTED]> writes: >>> I'm not completely sure that I see the point in switching URL formats. >>> I actually *like* our permalink URLs, and frequently use >>> article/:year/:month to view a subset of the blog. I may be in the >>> minority on this, though :-). >>> >>> I can see moving to restful URLs for API-ish code like the feeds (and >>> then mirroring them with PUT, DELETE, to replace the admin interface), >>> but it's not clear to me that more restful permalink URLs really >>> achieves any particular goal. Can you give a couple examples? >> >> As we discussed on GTalk, I think we can keep the current permalink >> URLs by introducing a 'posts' controller for the more APIish ways of >> monkeying with things. >> >> As an aside, I wonder if going RESTful would make implementing the >> Atom API any easier? > > I really like Scott Raymond's writeup of how moving IconBuffet to REST > saved him a bunch of code. > > http://scottraymond.net/articles/2006/07/20/refactoring-to-rest
Oh yes. One of the things I read that reminded me that Rails is doing the Right Thing now. > If you can create a set of URLs that represent the same sets of resources > as the Atom API, I imagine that would be very useful for implementing the > Atom API. It's certainly tempting :) -- Piers Cawley <[EMAIL PROTECTED]> http://www.bofh.org.uk/ _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
