PDA

View Full Version : Modules and urlkit


Pipan
12-27-2008, 12:02 AM
I found a nice post about a solution with custom moduleloaders and URLkit.

http://bildtsen.com/?p=92

However, I cant figure out how thye are creating each moduleloader, for example the moduleloader called BookDetailsModuleLoader

Where is the code for this, and is it a component?

I'd love to find a simular more describing article about this or simular technuiqe.

drkstr
12-27-2008, 10:58 PM
All the code is there on the page you linked to. They created an abstract module loader class, and an implementation of the abstract class called BookDetailsModuleLoader.

The module itself is loaded with this code in the ViewStack.

<module:BookDetailsModuleLoader id="VIEW_BOOK_DETAILS"
url="BookDetailsModule.swf" label="bookDetails"
width="100%" height="100%"/>

Was there anything specific you needed help with?


Best Regards,
~Aaron

Pipan
12-27-2008, 11:27 PM
I get it now, misunderstodd the code.


But still Im looking for a smart way of centralizing everything and build a functional webapplication. Like in their code you find a singleton called MainApplicationFacade

Examples and sites about this kind of architecture would be nice. however not cairngorm.