Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Catalyst. View. How to use?

by stonecolddevin (Parson)
on Jun 09, 2015 at 21:20 UTC ( [id://1129710]=note: print w/replies, xml ) Need Help??


in reply to Catalyst. View. How to use?

Why wouldn't it be done in a model?

Models are specifically for handling data. It seems like it would be pretty prudent to create your data structure in your model and have the controller pass said data structure to the view to be serialized as JSON. Other than that, it seems like you'd just be making life hard on yourself.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-28 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found