MVC best practice
- by Patrick
I'm new to MVC (i'm using codeigniter) and was wondering where I should put a "cut_description" function.
My model retrieves a list of events including their description. If the description is too long, I would need to cut it after the first n words, and add a "read more" link, so the view doesn't get too cluttered.
What would be the best…