Thanks for that, it looks like what I need, just need to puzzle out how it works.....
> I have such an application, albeit a small one with multiple databases - > one per customer. I store all the users in a single, separate database, > and for each user, store a reference to their particular database. Once > authenticated, I use InstancePerContext to build the appropriate > database model. It works fine. > > Steve > On 5/9/2012 4:42 PM, Denny wrote: >> 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: [email protected] >> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst >> Searchable archive: >> http://www.mail-archive.com/[email protected]/ >> Dev site: http://dev.catalyst.perl.org/ >> >> > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
