title: CodeIgniter and controllers
body: <p>I've started using CodeIgniter and I seem to be doing pretty well. I've hit an issue though.</p>
  
  <p>I have a controller called Articles. Users of the site can do the following:</p>
  
  <ul>
  <li>Get an article by slug name</li>
  <li>Get a list of articles in a category</li>
  <li>Get a list of articles that have x tag name</li>
  </ul>
  
  <p>My issue is should I create 3 separate controllers:</p>
  
  <ul>
  <li><code>Article.php</code> - For single articles</li>
  <li><code>Category.php</code> - For list of articles that have x category</li>
  <li><code>Tag.php</code> - For list of articles that have x tags</li>
  </ul>
  
  <p>Or, should I place everything in <code>Article.php</code>?</p>
  
  <p>I'm just trying to figure out the conventional way of doing things.</p>