[Catalyst] Catalyst::Action::REST, HATEOAS and gathering OPTIONS for a site map

Gavin Henry gavin.henry at gmail.com
Mon Oct 24 13:19:59 GMT 2011

Hi all,

As part of the HATEOAS (Hypermedia as The Engine Of Application State)
restful requirement, I wondered if it was a good idea to add a
->sitemap type option which does the same as _return_options which
sets the "Allow" header but returns a data structure of all the links
and methods available for each class? I planned to use similar for
returning a site map at say '/' in order
to provide as much in-band client information as possible.





More information about the Catalyst mailing list