title: Calendar throughout CakePHP site, but CakeBook says to not use a Model in a Component
body: <p>I have a small calendar widget-type thing on many pages throughout my site.  The goal is for it to retrieve events from X category that fall between Y and Z dates.</p>
  
  <p>My assumption (I'm new to CakePHP) was that I should create a component, and have it do the query.  Something like this:  </p>
  
  <pre><code>class CalendarComponent extends Object {
  
      var $uses = array('Event');
  
      function getEvents($category = null, $date = null, $limit = null) {
          $events = $this-&gt;Event-&gt;find('list', //conditions to get correct events
          return $events;
      }
  
  }
  </code></pre>
  
  <p>BUT, according to <a href="http://book.cakephp.org/view/998/MVC-Class-Access-Within-Components" rel="nofollow">this CakeBook page</a>: </p>
  
  <blockquote>
    <p>To access/use a model in a component
    is not generally recommended</p>
  </blockquote>
  
  <p>So - where would I store this logic / model call if not in a component?  I've admittedly not used a component yet (or not created one anyway) due to lack of really understanding how I should use them - any snippet of advice on this is also VERY welcome.</p>