Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Catalyst. View. How to use?

by stonecolddevin (Parson)
on Jun 09, 2015 at 21:20 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-04-14 04:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found