Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Method location best practises

$
0
0

When choosing whether to place my template method in the Controller or the Model - what are the general best practises?

For instance I have a method to get a simple 'copyright' strapline that sits in the footer. It does a couple of things with PHP date, so would something like this be a method on the controller or the model? Both work fine...

Any guidelines?


Posted to: Method location best practises | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles