On Wed, 2012-05-09 at 21:09 +0100, Scott Simpson wrote:
> I’d like to offer users their own database (so that their own data is
> separate from other users) but use the same MVC code for all the user
> databases.

https://metacpan.org/module/TEEJAY/Catalyst-TraitFor-Component-ConfigPerSite-0.08/lib/Catalyst/Model/DBIC/ConfigPerSite.pm

...might interest you.  It's intended for running a database per site
for a multidomain webapp, but you might find some useful ideas in there.



_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to