Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2020-05-26 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?