<div dir="ltr"><div><div><div><div>looks to me like you&#39;d want Catalyst::Model::Adaptor + Data::iCal + an optional very thin view that did something like:<br><br></div>    $c-&gt;res-&gt;content_type($ical_content_type);<br></div>    $c-&gt;res-&gt;body($c-&gt;stash-&gt;{calendar});<br><br></div>in the process method, and not much else.<br><br></div>The reason you don&#39;t see views for stuff like this much in catalyst land is that this kind of thing is usually pretty simple.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 8:22 PM, Chris Welch <span dir="ltr">&lt;<a href="mailto:welch.chris@gmail.com" target="_blank">welch.chris@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#000066">Thanks for the reply - may I ask what the model would be doing, given that presumably it would have to go through a view in the end anyway?  Because the data itself already exists in a model, all I&#39;m wanting to do effectively is extract that and display it in a slightly different format, so I&#39;m surprised that another model is the way to go - but then I&#39;ve sort of been learning as I go with this stuff, so I may well be missing something fundamental!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;color:#000066">Thanks</div></div>
<br>_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
<br></blockquote></div><br></div>