Re: [Maypole-dev] Re: [Maypole] multiple Maypole applications

From: Simon Flack (sf at flacks.net)
Date: Tue Aug 17 2004 - 13:46:28 BST


On Tue, 17 Aug 2004 13:32:21 +0100, David R. Baird wrote
[snip]
> the current package. Using the ref short-circuits the inheritance
> mechanism. This patch retrieves the ref, converts it to a different
> ref, and sends that back to Class::Data::Inheritable, which can now
> see the change (even though the underlying data hasn't changed) and
> implements its inheritance magic.

That doesn't work for nested data structures:

    MyApp->config->{auth} = {
        user_field => 'foo',
        user_class => 'My::User',
        session_args => {
           ...
        },
    };

> Are your apps on the same website? When I try to run multiple
> Maypole apps on the same virtual host, I get the config of the last
> app overwriting the previous ones. I don't know if that would happen
> if the apps were running in different virtual hosts, I haven't tried
> that yet.

Are you trying to use a single controller for multiple apps?

--simonflk

_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT