Hello,
I'm looking at building a web management interface that will work via plug-in
applications to a main framework. I was debating using multiple Rails
applicaitons that will look, from a user perspective, like a single
application.
To do so, I'd need to use some common layout between all of the applications.
How would I specify this?
Anyone know if something like mongrel can run multiple applications at a time?
Thanks,
Mike
···
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
Mongrel can run multiple servlets but only a single Rails app can run
under a Ruby interpreter at once. The only way I can think of to get
around this would be to either do this by configuring your web server,
setting them out in physical directories, or using Why's sandbox
library and writing your own startup scripts to encapsulate several
Rails apps in different sandboxes.
Michael P. Soulier wrote:
···
Hello,
I'm looking at building a web management interface that will work via plug-in
applications to a main framework. I was debating using multiple Rails
applicaitons that will look, from a user perspective, like a single
application.
To do so, I'd need to use some common layout between all of the applications.
How would I specify this?
Anyone know if something like mongrel can run multiple applications at a time?
Thanks,
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
--dlIpO4z9UYGQMOAL
Content-Type: application/pgp-signature
X-Google-AttachSize: 190
Is there a way to specify a common layout for multiple Rails apps? Surely
you're not constrained to just the layouts directory in the app itself, there
must be a way to pick up a common layout outside of that structure.
Mike
···
On 25/09/06 Timothy Goddard said:
Mongrel can run multiple servlets but only a single Rails app can run
under a Ruby interpreter at once. The only way I can think of to get
around this would be to either do this by configuring your web server,
setting them out in physical directories, or using Why's sandbox
library and writing your own startup scripts to encapsulate several
Rails apps in different sandboxes.
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
Take a look at the API. You can select a base directory for the views
and can probably use a full path. Failing that, a symlink could solve
it.
Michael P. Soulier wrote:
···
On 25/09/06 Timothy Goddard said:
> Mongrel can run multiple servlets but only a single Rails app can run
> under a Ruby interpreter at once. The only way I can think of to get
> around this would be to either do this by configuring your web server,
> setting them out in physical directories, or using Why's sandbox
> library and writing your own startup scripts to encapsulate several
> Rails apps in different sandboxes.
Is there a way to specify a common layout for multiple Rails apps? Surely
you're not constrained to just the layouts directory in the app itself, there
must be a way to pick up a common layout outside of that structure.
Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
--dDnEQgWzhgf+8aPe
Content-Type: application/pgp-signature
X-Google-AttachSize: 190