If a magento module "models" custom tables in the local Magento database, can it also be setup to "model" tables from an external database in parallel.
The config.xml global "models" tag appears to allow plural in it. So can I define a parallel 'external db connection' in resources and be able to use it with additional models, alongside the modelling of the custom tables in the local database.
Another way to rephrase this question is.. Can a magento module talk to tables in the local database and also in parallel talk to an external database using the ORM/ Model layer offered by Magento ?
<global>
<models>
<(modulename)>
<class>(ClassName_Prefix)</class>
<resourceModel>(modulename)_(resource_model_type)</resourceModel>
<(modulename)_(resource_model_type)>
<!-- definition -->
</(modulename)_(resource_model_type)>
<rewrite><!-- definition --></rewrite>
</(modulename)>
</models>
<resources>
<(modulename)_setup><!-- definition --></(modulename)_setup>
<(modulename)_read><!-- definition --></(modulename)_read>
<(modulename)_write><!-- definition --></(modulename)_write>
</resources>