[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Looking for a new web framework.

Tim Uckun

12/8/2007 10:20:00 AM

I am looking for a web framework designed to handle multiple domains
with the emphasis on sharing models, controllers, and even some views
(perhaps fragments) between the different web sites.

Is there such a thing?

15 Answers

Mikel Lindsaar

12/9/2007 2:07:00 AM

0

Note: parts of this message were removed by the gateway to make it a legal Usenet post.

Go get Mephisto and put it on rails. Can handle multiple domains, with
different logons for each domain. You can make themes that you can share
between, and in the end, because it is on rails, you can modify it how you
want anyway.
Takes a bit of learning, but works well. (get the edge version of Mephisto
on Rails 2.0 and you should be fine)

I use it successfully as such a thing.

Mikel
http://lin...

On Dec 8, 2007 9:19 PM, Tim Uckun <timuckun@gmail.com> wrote:

> I am looking for a web framework designed to handle multiple domains
> with the emphasis on sharing models, controllers, and even some views
> (perhaps fragments) between the different web sites.
>
> Is there such a thing?
>
>

Tim Uckun

12/9/2007 10:29:00 AM

0

On Dec 9, 2007 3:06 PM, Mikel Lindsaar <raasdnil@gmail.com> wrote:
> Go get Mephisto and put it on rails. Can handle multiple domains, with
> different logons for each domain. You can make themes that you can share
> between, and in the end, because it is on rails, you can modify it how you
> want anyway.
> Takes a bit of learning, but works well. (get the edge version of Mephisto
> on Rails 2.0 and you should be fine)
>


Thanks. I will check it out.

Gaspard Bucher

12/9/2007 8:28:00 PM

0

There is also "zena", the tool I am writing. Compared to mephisto, it
does *not* have an admin interface. All data insertion, editing,
publication is done directly on the site, usually with ajax. It is
also more "content" oriented : of course, you add "pages" and
"images", but depending on your domain, you will make your own
specialized "objects" like "painting", "scuplture", "exhibition" if
you are an artist or "house", "client" or "renovation".

The official beta release is planned for the end of January (when I
have more time to write the tutorials and respond to questions).

And just a final note: the templating language in zena is *very*
powerfull (it is meant to handle all the site's logic). This is a
simple example of the code to show thumbnails of the houses for sale :

<ul do="houses from site" where="d_sold=false" order="random">
<li do="each"><r:img src="icon" mode="pv" link="self"/></li>
</ul>

(the "d_sold" stands for "dynamic attribute 'sold'").


2007/12/9, Tim Uckun <timuckun@gmail.com>:
> On Dec 9, 2007 3:06 PM, Mikel Lindsaar <raasdnil@gmail.com> wrote:
> > Go get Mephisto and put it on rails. Can handle multiple domains, with
> > different logons for each domain. You can make themes that you can share
> > between, and in the end, because it is on rails, you can modify it how you
> > want anyway.
> > Takes a bit of learning, but works well. (get the edge version of Mephisto
> > on Rails 2.0 and you should be fine)
> >
>
>
> Thanks. I will check it out.
>
>

Gaspard Bucher

12/9/2007 8:29:00 PM

0

Forgot the link: http://ze...

Template documentation: zenadmin.org/en/documentation/page142.html

2007/12/9, Gaspard Bucher <gaspard@teti.ch>:
> There is also "zena", the tool I am writing. Compared to mephisto, it
> does *not* have an admin interface. All data insertion, editing,
> publication is done directly on the site, usually with ajax. It is
> also more "content" oriented : of course, you add "pages" and
> "images", but depending on your domain, you will make your own
> specialized "objects" like "painting", "scuplture", "exhibition" if
> you are an artist or "house", "client" or "renovation".
>
> The official beta release is planned for the end of January (when I
> have more time to write the tutorials and respond to questions).
>
> And just a final note: the templating language in zena is *very*
> powerfull (it is meant to handle all the site's logic). This is a
> simple example of the code to show thumbnails of the houses for sale :
>
> <ul do="houses from site" where="d_sold=false" order="random">
> <li do="each"><r:img src="icon" mode="pv" link="self"/></li>
> </ul>
>
> (the "d_sold" stands for "dynamic attribute 'sold'").
>
>
> 2007/12/9, Tim Uckun <timuckun@gmail.com>:
> > On Dec 9, 2007 3:06 PM, Mikel Lindsaar <raasdnil@gmail.com> wrote:
> > > Go get Mephisto and put it on rails. Can handle multiple domains, with
> > > different logons for each domain. You can make themes that you can share
> > > between, and in the end, because it is on rails, you can modify it how you
> > > want anyway.
> > > Takes a bit of learning, but works well. (get the edge version of Mephisto
> > > on Rails 2.0 and you should be fine)
> > >
> >
> >
> > Thanks. I will check it out.
> >
> >
>

Ben Bleything

12/10/2007 12:02:00 AM

0

On Sun, Dec 09, 2007, Mikel Lindsaar wrote:
> Go get Mephisto and put it on rails. Can handle multiple domains, with
> different logons for each domain. You can make themes that you can share
> between, and in the end, because it is on rails, you can modify it how you
> want anyway.

Mephisto is a blogging/CMS engine, not a web framework. I doubt that it
will serve the OP's needs particularly well.

An option is Arrow, http://deveiate.org/proj..., which runs under
mod_ruby in Apache. It has a concept of dispatchers, which can be
configured differently. Each vhost in the apache config can be
configured with a different dispatcher, etc.

Check it out, it might be closer to what you need.

Ben

Tim Uckun

12/14/2007 12:53:00 AM

0

>
> An option is Arrow, http://deveiate.org/proj..., which runs under
> mod_ruby in Apache. It has a concept of dispatchers, which can be
> configured differently. Each vhost in the apache config can be
> configured with a different dispatcher, etc.


Thanks for the tip. I was thinking about using mod_ruby and erb-like-things.

What is the state of mod_ruby these days? Is it robust? Why is it that
rails, merb, etc don't run on it?

Jeff

12/14/2007 1:05:00 AM

0

On Dec 13, 6:52 pm, "Tim Uckun" <timuc...@gmail.com> wrote:
> > An option is Arrow,http://deveiate.org/proj..., which runs under
> > mod_ruby in Apache. It has a concept of dispatchers, which can be
> > configured differently. Each vhost in the apache config can be
> > configured with a different dispatcher, etc.
>
> Thanks for the tip. I was thinking about using mod_ruby and erb-like-things.
>

Maybe I'm missing something, but it sounds like Rails would work great
for your situation.

I've also heard very good things about Merb (also an MVC framework),
though I haven't tried it myself yet.

Jeff

Ben Bleything

12/14/2007 2:15:00 AM

0

On Fri, Dec 14, 2007, Tim Uckun wrote:
> What is the state of mod_ruby these days? Is it robust? Why is it that
> rails, merb, etc don't run on it?

I think it's pretty robust. I think it always has been :) I think that
there are a lot of reasons why it's not in common use these days. Rails
supported it (maybe still does) early on, but it didn't work that well
because each Apache child has its own interpreter that is persistent...
contrast this with FCGI (for instance) where the state is effectively
cleared between requests. Rails just wasn't designed to run in that
kind of environment. It's really just philosophical differences.

As for the others, I suspect they just followed in Rails' footsteps.
Apache has its downsides, of course... it's big and complex (though,
once you get familiar with it, Apache totally rocks). It could be
considered overkill, particularly with things like Mongrel around.

Ultimately it's about what works best for your app. A lot of what Rails
is is just convention. You can build exactly the same app with the same
domain models inside Arrow or merb or with pure mongrel. Just gotta
figure out what features you want to get "for free" :)

Ben

Ben Bleything

12/14/2007 2:17:00 AM

0

On Fri, Dec 14, 2007, Jeff wrote:
> Maybe I'm missing something, but it sounds like Rails would work great
> for your situation.

That's true. I assumed from his first post that he meant "a new
framework" as "something different than Rails", but maybe that's not
right :)

Ben

Marc Heiler

12/14/2007 3:00:00 AM

0

One day the ultimate web framework will be - ruby itself ;)
--
Posted via http://www.ruby-....