Excellent REST Tutorial Series

Softies on Rails is posting an excellent REST tutorial series. They are doing a great job in describing how a web application is just a collection of resources (and not necessarily web pages), and how you can think of your web application as the gateway to manipulate those resources. If you want to learn REST, and good web architecture, this tutorial series is the way to start.

This reminds me of the great "A resource is a web page about your car, not your car itself" debate.

Norm Walsh sums this debate up nicely:

Suffice it to say that some folks think http://example.org/some/path must identify “a document” (what the AWWW calls an “information resource”) and some folks think it can identify anything at all.

In any case, thinking of your web application as a collection of resources is the way to go. You don't usually need to get all carried away with "what is a resource?" unless you are trying to model knowledge, but that's another story...

Popular posts from this blog

Lists and arrays in Dart

Converting Array to List in Scala

The 29 Healthiest Foods on the Planet