Yes, your right. I just wanted to start with something simple :)
In two worlds, i want the same effect (visual) like this (in apache config):

<Location />
 ....
 PerlHandler Application_A
</Location>

<Location /folder>
 ....
 PerlHandler Application_B
</Location>

But in this way the program code A cannot call B's actions or functions and
vise versa.

Something like this would be cool:

in Application A:

build_in('ApplicationB', namespace => '/folder', ...);
.........
$c->forward('/folder/index'); #will forward to
ApplicationB::Controller::Root's index : Private (or whatever).

I think they need to use separate $c objects, variable namespaces e.t.c.
each $c can just jump to another $c if foreign url has been detected.
2007/5/7, Matt S Trout <[EMAIL PROTECTED]>:

On Wed, May 02, 2007 at 08:02:04PM +0400, Oleg Pronin wrote:
> You didn't understand what i meant. MyApp::A is not a class. It's a
whole
> application with all surrounding stuff.
> so and MyApp::B.
>
> Ok lets build the question in another manner:
>
> Catalyst scans for all modules under MyApp::Controller to build the list
of
> url actions.
> How to make Catalyst scan another OtherApp::Controller and add all found
url
> actions to MyApp ?

If it's a complete application won't you need the models as well?

Are the views the same or different?

Do you have clashing names or not?

Do they use the same plugins?

Are you trying to add the extra stuff under a prefix or side-by-side
URI-wise?

C'mon, you're trying to do something fairly complex here. Give us more
information :)

--
     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://www.shadowcatsystems.co.uk/

_______________________________________________
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/

_______________________________________________
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/

Reply via email to