[Catalyst] How to make MyApp::B a part of MyApp::A ?

Matt S Trout dbix-class at trout.me.uk
Mon May 14 17:07:17 GMT 2007


On Mon, May 14, 2007 at 06:46:59PM +0400, Oleg Pronin wrote:
> 2007/5/8, Matt S Trout <dbix-class at trout.me.uk>:
> >
> >On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote:
> >> I can test the part related to the subject of this thread with great
> >> pleasure.
> >>
> >> I'm currently making full-featured dynamic admin interface for catalyst
> >(not
> >> so simple as plugin CRUD :) )
> >> And it will have been loaded as plugin into a project (while this
> >interface
> >> is catalyst project itself). That's because i need this feature.
> >
> >Can you elaborate on that? I have some ideas on how you could implement
> >that
> >without making the admin interface a complete app in its own right (and
> >remember you can always make a standalone one by just loading the admin
> >interface code at / in an otherwise empty app :)
>
> (top posting fixed. please fix your mail client)
>
> Please tell me how could i implement that without making the interface a
> complete app ?

Just bring the controllers/models/views in with a prefix and supply the
same prefix to your access to them within the code.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list