title: Integrating external scripts with Zend Framework
body: <p>What is the best way to integrate an external script into the Zend Framework? Let me explain because I may be asking this the wrong way. I have a script that downloads and parses an XML file. This script, which runs as a daily cron job, needs to dump its data into the database.</p>
  
  <p>I am using Zend Framework for the site which uses this script and it seems to me that it would be best to use my subclassed model of <code>Zend_Db_Abstract</code> to do the adding and updating of the database. How does one go about doing this? Does my script go in the library next to the Zend Components (i.e. library/Mine/Xmlparse.php) and thus have access to the various ZF components? Do I simply need to include the correct model files and the Zend DB component in the file itself? What is the best way to handle this sort of integration?</p>