title: CakePHP Model with $useTable = false still tries to connect to database
body: <p>I'm trying to develop an application that does not use a database, but that still has some models.</p>
  
  <p>First problem: Cake look however for the configuration of the database (APP/Lib/Cake/Model/ConnectionManager.php, line 69), it tries to include the file Config/database.php.</p>
  
  <p>If the file doesn't exist, I get 2 warnings. If it exists (even if it is completely empty) all ok. I want to clarify that this takes place even in the absence of models.</p>
  
  <p>Second problem: if I try to use a model, I get the error:</p>
  
  <pre><code>Missing Datasource Configuration
  Error: The datasource configuration default was not found in database.php.
  </code></pre>
  
  <p>This happens whether the Config/database.php file exists, whether the file is not present.</p>
  
  <p>Finally, I specify that models (including the AppModel) have the property $useTable set to false, but it seems that it makes no difference.</p>
  
  <p>But I have noticed that everything works correctly when in an application that uses a database there are only a few models that do not use it (but the app as a whole uses it).</p>
  
  <p>I found <a href="http://bakery.cakephp.org/articles/Primordial/2012/01/19/cakephp_v2_without_a_database_fixed" rel="nofollow">this</a> which proposes a solution, which then is the solution that is found on the web.</p>
  
  <p>But below, in the comments, I read that Lorenzo says:</p>
  
  <blockquote>
    <p>This does not make any sense at all, CakePHP 2.0 will not try to
    perform any datbase connection unless you request it to do so</p>
  </blockquote>
  
  <p>It seems to me that it has not, maybe CakePHP does not perform any query but still want a database is configured. Is that so? Or I missed something?</p>
  
  <p>Thank you.</p>