[Dbix-class] Working with parts of a database

Alexander Hartmaier alexander.hartmaier at t-systems.at
Mon Oct 24 07:40:15 GMT 2011


Am 2011-10-23 13:03, schrieb Aaron Trevena:
> Hi all,
>
> I was wondering what solutions people have come up with for dealing
> with database schemas with hundreds of tables..
>
> I was thinking of using namespaces and having some sort of
> terminus/boundary namespace that terminates long strings of
> relationships, or maybe setting relationships at load time per app
> (re-using the same underlying dbic classes)
>
> Any thoughts, suggestions or pointers?
>
> Cheers,
>
> A
>
I have the DBIC model in a separate module.
It also includes a schema which loads all result classes.
Each app has its own schema which loads only the required classes.
The deployment code skips relationships pointing to unloaded result
classes since version 0.08191 for exactly that use case so deploy works too.

--
Cheers, Alex

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the DBIx-Class mailing list