title: Smarty Variables
body: <p>I'm building a CodeIgniter application and using Smarty as my templating system. Instead of trying to assign Smarty variables from various controllers, would it be better to define all the Smarty variables in one place (e.g. a controller super-class) so that everything is in one place? My concern with this approach is that assigning variables not needed for a particular controller/view pair might degrade performance.</p>
  
  <p>Ideas?</p>