Quantcast

Few questions on app modularization

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Few questions on app modularization

Octavian Covalschi
Hi,

I'm trying to modularize my app into 2 basic parts, core and web (app-core, app-web). Core would contain all domains and services. So, after playing around for a few days I've got a few questions if you don't mind. 

1. I want to use mongodb. Do I install 'mongodb' plugin in both core and web?

2. I'm using STS and inline plugin is for running app, but what's the best way to tell STS to find my imports in core as well? Add source/project?

3. Can I do test-app inside webapp with that inline plugin? Or I have to package and install it 1st? I tried it but I've got some errors(I think they're related to 1st question though)
 
 Thank you in advance.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Few questions on app modularization

tomas lin
You don't need to install mongodb for web if it is already installed in core.

Take a look at this buildConfig file -
https://github.com/burtbeckwith/grails-app-info/blob/master/grails-app/conf/BuildConfig.groovy
, I believe all the plugins that are not marked with export = false
will get added to your application after installing the plugin. You
might want to declare mongodb in a similar fashion.

Can't help you with your other questions because I strongly believe
STS is another circle of hell.


On Wed, Jul 11, 2012 at 3:47 PM, Octavian Covalschi
<[hidden email]> wrote:

> Hi,
>
> I'm trying to modularize my app into 2 basic parts, core and web (app-core,
> app-web). Core would contain all domains and services. So, after playing
> around for a few days I've got a few questions if you don't mind.
>
> 1. I want to use mongodb. Do I install 'mongodb' plugin in both core and
> web?
>
> 2. I'm using STS and inline plugin is for running app, but what's the best
> way to tell STS to find my imports in core as well? Add source/project?
>
> 3. Can I do test-app inside webapp with that inline plugin? Or I have to
> package and install it 1st? I tried it but I've got some errors(I think
> they're related to 1st question though)
>
>  Thank you in advance.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Few questions on app modularization

Octavian Covalschi
Thank you for confirming it. Meanwhile I think I got it working as I wanted.


On Wed, Jul 11, 2012 at 4:21 PM, Tomas Lin <[hidden email]> wrote:
You don't need to install mongodb for web if it is already installed in core.

Take a look at this buildConfig file -
https://github.com/burtbeckwith/grails-app-info/blob/master/grails-app/conf/BuildConfig.groovy
, I believe all the plugins that are not marked with export = false
will get added to your application after installing the plugin. You
might want to declare mongodb in a similar fashion.

Can't help you with your other questions because I strongly believe
STS is another circle of hell.


On Wed, Jul 11, 2012 at 3:47 PM, Octavian Covalschi
<[hidden email]> wrote:
> Hi,
>
> I'm trying to modularize my app into 2 basic parts, core and web (app-core,
> app-web). Core would contain all domains and services. So, after playing
> around for a few days I've got a few questions if you don't mind.
>
> 1. I want to use mongodb. Do I install 'mongodb' plugin in both core and
> web?
>
> 2. I'm using STS and inline plugin is for running app, but what's the best
> way to tell STS to find my imports in core as well? Add source/project?
>
> 3. Can I do test-app inside webapp with that inline plugin? Or I have to
> package and install it 1st? I tried it but I've got some errors(I think
> they're related to 1st question though)
>
>  Thank you in advance.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Loading...