[albatross-users] page module import magic

Matt Goodall matt at pollenation.net
Mon Jan 12 23:42:29 EST 2004


Andrew McNamara wrote:

>Is this getting too ugly? Much of the messiness comes from supporting
>hierarchies of page modules (app.login.help, etc) - dummy parent modules
>have to be created. I've written a bunch of tests, and it looks like
>the modification works well, but maybe we should only support a flat page
>module namespace?
>  
>
[snip the patch]

Yes, it's getting a bit ugly. It's certainly not particularly 
straightforward.

When you say, "maybe we should only support a flat page module 
namspace", what do you mean? Do you mean that Albatross should not 
support URLs like /login/help , requiring something like /login_help 
instead, or something else?

Also, I'm not sure what you mean by "dummy parent modules have to be 
created". Is this referring to the create_module_holder() magic or 
modules that an Albatross user would need to create?

Sorry if I'm being dumb here, I'm having one of those slow Mondays :(.

Thanks, Matt

-- 
Matt Goodall, Pollenation Internet Ltd
w: http://www.pollenationinternet.com
e: matt at pollenation.net





More information about the Albatross-users mailing list