title: Models in the Zend Framework
body: <p>What are some of the ways you have implemented models in the Zend Framework?</p>
  
  <p>I have seen the basic <code>class User extends Zend_Db_Table_Abstract</code> and then putting calls to that in your controllers: </p>
  
  <p><code>$foo = new User;</code></p>
  
  <p><code>$foo-&gt;fetchAll()</code></p>
  
  <p>but what about more sophisticated uses? The Quickstart section of the documentation offers such an example but I still feel like I'm not getting a "best use" example for models in Zend Framework. Any interesting implementations out there?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> I should clarify (in response to CMS's comment)... I know about doing more complicated selects. I was interested in overall approaches to the Model concept and concrete examples of how others have implemented them (basically, the stuff the manual leaves out and the stuff that basic how-to's gloss over) </p>