June 2019
Beginner to intermediate
770 pages
19h 24m
English
Object serialization involves defining some kind of identifier for each object. For shelve or sqlite, we need to define a string key for each object. A RESTful web server makes the same kinds of demands to define a workable key that can be used to unambiguously track down objects. A simple, surrogate key can also work out for a RESTful web service identifier. It can easily parallel the key used for shelve or sqlite.
What's important is this idea: cool URIs don't change. See http://www.w3.org/Provider/Style/URI.html.
It is important for us to define a URI that is never going to change. It's essential that the stateful aspects of an object are never used as part of the URI. For example, a microblogging application ...
Read now
Unlock full access