Task G: One Last Wafer Thin Change

Change the original catalog display (the index action in the store controller) so that it returns an XML product catalog if the client requests an XML response. Discuss

Try using rxml templates to generate normal HTML (technically, XHTML) responses. What are the advantages and disadvantages? Discuss

If you like the programmatic generation of HTML responses, have a look at Markaby. It installs as a plugin, so you’ll be trying stuff we haven’t talked about yet, but the instructions on the web site are clear. Discuss

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License