Hi Barry! I have a MyApp::Model::DBIC module I use in every app which needs it. At the beginning I extended it with table/resultset methods I need in my various apps, but now I only put those in the model which are shared and subclass classes which need more functionality in the apps.
-Alex > -----Original Message----- > From: Barry Hoggard [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 19, 2007 9:30 PM > To: [email protected] > Subject: [Catalyst] question about sharing models with > differentapplications/hosts > > I'm investigating migrating an art website hosting service > (www.artcat.com) from CGI::Application under mod_perl to Catalyst. > There are 2 parts to the application -- the admin interface for > clients and the application that serves the pages. Eventually the two > may be served on different servers, such as clientsite.com and > admin.artcat.com. They would need to use the same model classes of > course. > > What is considered the best way to do this now? One catalyst app with > different vhosts and URL rewriting, or some kind of shared repository > for the lib directory, or something else? > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: http://www.mail- > archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* 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. *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
