title: Calling Zend Framework Service Layer from crons, SOAP, command line tasks and Queues
body: <p>I am trying to find the best way to implement Model using Zend Framework for an enterprise application. From different articles I am now convinced that a Service Layer is a very good idea. I see that one of the arguments in favor of Service Layer is that - it can be called from outside - like from crons, SOAP, command line tasks and Queues.</p>
  
  <p>But I am not clear how it can do so. When services are called from outside the Bootstrap will not run hence the model will have no information about the DB, Mail Transport, Logging etc.</p>
  
  <p>Any suggestions? </p>