On Fri, May 04, 2007 at 11:05:07AM -0400, Christopher H. Laco wrote: > > What Bogdan was trying to tell you is that while, yes, your code does > > do the write, doing it inside your controller is somewhat against the > > MVC method generally used in Catalyst. Which means, essentially, > > that you are going to run into problems with the modules because they > > all expect MVC behavior. > > Well, mostly. The REST Action stuff doesn't use views at all by default. > So, it's happy writing output and not going to a view at all (unless you > map a content-type to a View manually).... > > As such, what is the REST stuff doing, or how is it avoiding using views > for most of it's output? Therein probably lays the answer the this > particular problem.
The REST stuff is just setting $c->res->output() directly. Which is what he is trying to avoid. Adam -- HJK Solutions - We Launch Startups - http://www.hjksolutions.com Adam Jacob, Senior Partner T: (206) 508-4759 E: [EMAIL PROTECTED] _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
