This chapter has been a bit of a diversion. I focused on the server-side Representor even though the primary aim of this book is to explor client-side hypermedia. But this Representor pattern is an important implementation approach and it will appear many times throughout the code examples in the book. And the process of working through programming lessons laerned in the past has been, I hope, helpful. We’ve built up a working example of a Representor by taking lessons from Parnas’ “responsibility assignment” approach to modularity, the Content Negotiation features of HTTP, the STRATEGY pattern from the “Gang of Four”, and Fowler’s TRANSFORM VIEW patte...
I would have like to have a client-side representative or proxy to handle unknown link, caching ...
Share this highlighthttp://www.safaribooksonline.com/a/restful-web-clients/1335146/