MVC and dynamic titles
===

What's the best way to go about having dynamic titles when your site uses the MVC pattern?

I've seen some frameworks set the title in the controller with something like `$seo->setTitle('Title here...')` but that is no good when you want dynamic titles like on a products page you would want the products name in the title.

I was thinking of having an SEO object, create it in the controller and in the constructor have the page name and by using the provided page name the methods within the object retrieve and set the pageTitle and desciption properties. 

Would it be considered to be bad practice or breaking some rule of MVC? and if yes, what is a better approach? Thanks.