On Sat, Mar 6, 2010 at 2:33 PM, J. Shirley jshir...@gmail.com wrote:
This is where I actually really love ::REST. If you make a JSON call,
then whatever is in the stash key that ::REST is returned to the
client (via -status_ok) -- but if you combine this with chained and
setup other data in
: RE: [Catalyst] Best practices: XML output from static XML
Catalyst to serve a static file (which would only make sense if there *is*
application logic) putting this in a View would be the Right Way.
Yes my point exactly. That’s why I was comparing it to serving static image
files and how it's
On Sat, Mar 6, 2010 at 6:17 AM, David oldskif...@yahoo.es wrote:
Exactly, as there is a little bit of application logic, so I need this
process.
Thanks for the solution Jay. I'll go for it.
Just one last question. When you talk about using
'lib/MyApp/View/MyView.pm', you mean that is also
On Sat, Mar 6, 2010 at 6:34 AM, J. Shirley jshir...@gmail.com wrote:
Just one last question. When you talk about using
'lib/MyApp/View/MyView.pm', you mean that is also correct to create a
simple
perl Module for your view. Then implement process method in the View.pm
and
forward the
On Sat, Mar 6, 2010 at 8:25 AM, Bill Moseley mose...@hank.org wrote:
On Sat, Mar 6, 2010 at 6:34 AM, J. Shirley jshir...@gmail.com wrote:
Just one last question. When you talk about using
'lib/MyApp/View/MyView.pm', you mean that is also correct to create a
simple
perl Module for your
On Sat, Mar 6, 2010 at 12:59 PM, J. Shirley jshir...@gmail.com wrote:
I don't think the path taken with Catalyst::Action::REST is the best,
but it does work very very well in my opinion and I certainly can't
think of anything better. Being able to send to a serialization
method based on the
On Sat, Mar 6, 2010 at 2:20 PM, Bill Moseley mose...@hank.org wrote:
On Sat, Mar 6, 2010 at 12:59 PM, J. Shirley jshir...@gmail.com wrote:
I don't think the path taken with Catalyst::Action::REST is the best,
but it does work very very well in my opinion and I certainly can't
think of
On Fri, Mar 5, 2010 at 5:10 AM, David oldskif...@yahoo.es wrote:
Hi,
I need to generate an XML output (Content-type: application/xml), but this
XML output is the XML content which is stored in an XML file. I don't need
to dinamically generate this XML content.
I have searched in google but I
Maybe I am missing something but why is a view needed? If you are serving up a
static file and its xml why don’t you just serve that file statically based on
path? Is the header content-type not getting set properly for that file?
Thanks,
--
Ali Mesdaq
my_TT_view TT'.
David
De: J. Shirley jshir...@gmail.com
Para: The elegant MVC web framework catalyst@lists.scsys.co.uk
Enviado: vie,5 marzo, 2010 16:45
Asunto: Re: [Catalyst] Best practices: XML output from static XML
On Fri, Mar 5, 2010 at 5:10 AM, David oldskif
@lists.scsys.co.uk
Enviado: vie,5 marzo, 2010 19:04
Asunto: RE: [Catalyst] Best practices: XML output from static XML
Maybe I am missing
something but why is a view needed? If you are serving up a static file and its
xml why don’t you just serve that file statically based on path? Is the header
On Fri, Mar 5, 2010 at 10:46 AM, David oldskif...@yahoo.es wrote:
Thanks Jay.
I thought of that solution too when I had a look at
Catalyst::Plugin::Static::Simple. But in this case, my doubt was, and is,
how should I create the view through the helper?
Most of the examples for creating views
://www.WebsenseSecurityLabs.comhttp://www.websensesecuritylabs.com/
--
From: David [mailto:oldskif...@yahoo.es]
Sent: Friday, March 05, 2010 10:49 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Best practices: XML output from static XML
Well, as Catalyst works under MVC
On Fri, Mar 5, 2010 at 11:31 AM, Mesdaq, Ali ames...@websense.com wrote:
To me this sounds like it’s the same issue as serving static images you
wouldn’t create a view for that unless you need to wrap it around some
application logic. Or at least that’s what it sounds like to me based on the
--
-Original Message-
From: J. Shirley [mailto:jshir...@gmail.com]
Sent: Friday, March 05, 2010 12:20 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Best practices: XML output from static XML
On Fri, Mar 5, 2010 at 11:31 AM, Mesdaq, Ali ames...@websense.com wrote:
To me
15 matches
Mail list logo