Skip to content

Added a guide to have multiple application in a single app. #22

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

RaphaelRheault
Copy link

We had multiple tool applications and we wanted to group them in a portal.
A saw a post on SO of someone who wanted to do something similar but without any answers and I had time for R&D so I used it to find a solution.
(http://stackoverflow.com/questions/18461997/how-to-run-multiple-applications-under-one-compoundjs-instance)

I analysed the workflow of Compound and found a way to include child applications as node_module in a parent's Compound application without doing any change in compound source code.

We have 4 applications working together without any problems so far (the portal and 3 tools).
Two of the tools are using AngularJS without problem (which is why there is an Angular section in the guide).
Each of the child application can still be run in standalone for easier development.

I had the guide tested by one of my co-worker for one of the tool and he could make it work, so I think it's easy enough to read.

I have been suggested by another co-worker to share my solution to help others and maybe get feedback, so here it is !
I hope you like it enough to merge it.

PS. The link in README.md already directs toward the future location on your server, so it's 404 for now.

@anatoliychakkaev
Copy link
Member

Thank you for writing this guide. I'd like to do some cleanup and overview
common ways to extend apps. Actually there are two ways: mount app as
routing subtree; extend existing app with another app (mixin controllers,
models, etc). And there's cleaner way than described in readme, we are
using both ways in our apps, i will send you pull request with my edits.
Thanks!

On Mon, Nov 18, 2013 at 10:11 PM, RaphaelRheault
notifications@github.51.alwrote:

We had multiple tool applications and we wanted to group them in a portal.
A saw a post on SO of someone who wanted to do something similar but
without any answers and I had time for R&D so I used it to find a solution.
(
http://stackoverflow.com/questions/18461997/how-to-run-multiple-applications-under-one-compoundjs-instance
)

I analysed the workflow of Compound and found a way to include child
applications as node_module in a parent's Compound application without
doing any change in compound source code.

We have 4 applications working together without any problems so far (the
portal and 3 tools).
Two of the tools are using AngularJS without problem (which is why there
is an Angular section in the guide).
Each of the child application can still be run in standalone for easier
development.

I had the guide tested by one of my co-worker for one of the tool and he
could make it work, so I think it's easy enough to read.

I have been suggested by another co-worker to share my solution to help
others and maybe get feedback, so here it is !
I hope you like it enough to merge it.

PS. The link in README.md already directs toward the future location on

your server, so it's 404 for now.

You can merge this Pull Request by running

git pull https://github.com/RaphaelRheault/guides master

Or view, comment on, or merge it at:

#22
Commit Summary

  • Added the Multiple application integration guide
  • Added the multiple application integration guide
  • Added the multiple application integration guide
  • Added the multiple application integration guide
  • Update multiple-application-integration.md
  • Update multiple-application-integration.md
  • Update multiple-application-integration.md
  • Update multiple-application-integration.md
  • Update multiple-application-integration.md
  • Update multiple-application-integration.md

File Changes

Patch Links:

@absynce
Copy link

absynce commented Jul 11, 2014

@1602 I'd like to see the different options as well. Have you added this anywhere other than on SO?

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

Successfully merging this pull request may close these issues.

3 participants