On Jun 29, 11:00 am, Mike Orr <[email protected]> wrote:
> On Mon, Jun 29, 2009 at 7:47 AM, Walter Cruz<[email protected]> wrote:
> > Sorry me if I'm wrong, but I think that the whole point of this thread is
> > the concept of subapps, apps or whatever you call it on Pylons ;)
>
> The point is how to do subapps.  Not many people have because of
> issues like this: the globals, the template paths, whether to merge
> the routes or have two levels of routing, and how to have the
> top-level configuration feed the subapp's configuration while
> remaining different.  Pylons was not really designed for subapps,
> which is why these things happen.  That's one of the reasons for the
> Pypes framework which some developers are exploring; it would be
> designed in a way to make apps easily nestable.
>
> There's a fundamental tension between globals, which were inherited
> from the CherryPy style of programming, and multiple applications in
> the process.  CherryPy uses threadlocals to get around this, Pylons
> uses StackedObjectProxies,   but they may break down in some edge
> cases.  I'm not sure what the problem is here, why the subapp's config
> isn't being registered on the proxy, if that's what's happening.
>
> --
> Mike Orr <[email protected]>

Well this whole experiment pretty much validates what Marius had
recommended in his reply. So I guess I'm off to learn all about
Pipeline's and such.


Learning is good. :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to