Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple xml configuration files? #24

Closed
bruceflowers opened this issue Jun 10, 2013 · 2 comments
Closed

Multiple xml configuration files? #24

bruceflowers opened this issue Jun 10, 2013 · 2 comments

Comments

@bruceflowers
Copy link

Hi There,

Great work so far! I was wondering if the framework supports loading multiple xml config files? The reason I ask is that on a large project, a single config can often become unwieldy, and it often helps to be able to break it down into by functional area or some other organizing principle.

Is this supported, and if not, is it planned?

-Bruce

@jasperblues
Copy link
Member

Hi there,

Yes this feature was important enough to be in the very first relaese. Here's the docs:
http://jasperblues.github.io/Typhoon/api/Classes/TyphoonXmlComponentFactory.html#//api/name/initWithConfigFileNames:

This breaks a single container up into multiple files, in the same way that BlockAssembly uses categories.

Parent/child containers (like Spring has) are not yet suported. If wou need this please reopen the issue.

Regards!

@jasperblues
Copy link
Member

oh, also the sample application shows examples of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants