Hello,
on 03/13/2008 09:28 AM Miguel Oliveira said the following:
> My application, metastorage-based, is growing every day, and the main
> persistent component is getting bigger.
>
> In order do organize code and data flow, i'm planning to create
> external components to increase productivity.
>
> So, i was wondering if, when creating external components,
> metastorage will create other databases or will assume that future
> components will be added to the main component database.
No, Metastorage generates different schema definitions for each
component, but you can configure the schema installation classes to
install all component schemas in the same database.
> Also, maybe this dobt doesn't make much sense, but can i create the
> main component just for reference external components? Will this
> affect all my code and database, or metastorage will mantain database
> and a a main class will work as an interface layer class?
I am not sure what you mean. If you have a large application, it is
better to make it modular, so each module can run without code from most
other modules.
If you define different components for each module, most of the time you
only need to load the generated code for the components used in each module.
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/