Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
slices in rails 3.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
weepy  
View profile  
 More options Dec 24 2008, 4:39 pm
From: weepy <jonah...@gmail.com>
Date: Wed, 24 Dec 2008 13:39:41 -0800 (PST)
Local: Wed, Dec 24 2008 4:39 pm
Subject: slices in rails 3.0
One feature of merb that for me was truly exciting was the potential
of slices. In particular, the plan for merb 1.1 allowing any merb app
to be mountable in another.

I was wondering if the merb-core team had figured out whether this
feature would make it into rails 3.0 ?

weepy


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ezra Zygmuntowicz  
View profile  
 More options Dec 24 2008, 4:56 pm
From: Ezra Zygmuntowicz <ezmob...@gmail.com>
Date: Wed, 24 Dec 2008 13:56:16 -0800
Local: Wed, Dec 24 2008 4:56 pm
Subject: Re: [merb] slices in rails 3.0

On Dec 24, 2008, at 1:39 PM, weepy wrote:

> One feature of merb that for me was truly exciting was the potential
> of slices. In particular, the plan for merb 1.1 allowing any merb app
> to be mountable in another.

> I was wondering if the merb-core team had figured out whether this
> feature would make it into rails 3.0 ?

> weepy

        Yes this is definitely one feature that will be making it across.

Cheers-

Ezra


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yehuda Katz  
View profile  
 More options Dec 24 2008, 5:39 pm
From: "Yehuda Katz" <wyc...@gmail.com>
Date: Wed, 24 Dec 2008 14:39:58 -0800
Local: Wed, Dec 24 2008 5:39 pm
Subject: Re: [merb] Re: slices in rails 3.0

To be even more clear, slices in Merb were going to be replaced by
first-class apps (any app can be a slice). This should make it in to Rails3.
-- Yehuda

On Wed, Dec 24, 2008 at 1:56 PM, Ezra Zygmuntowicz <ezmob...@gmail.com>wrote:

--
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon Hancock  
View profile  
 More options Dec 24 2008, 6:26 pm
From: Jon Hancock <shellsha...@gmail.com>
Date: Wed, 24 Dec 2008 15:26:50 -0800 (PST)
Local: Wed, Dec 24 2008 6:26 pm
Subject: Re: slices in rails 3.0
I'm still a bit dubious about slices being ready for prime time.
The only real world slice is the auth one.  Its great, as is auth-
core, but has some obvious issues:

Doesn't inherit from my application controller so I lose common
behavior.  I end up copy/pasting code from application into
global_helpers to get around some of the quirks.  Other things I've
yet to find a solution for (like fixing bugs - https redirect??))
besides patching the slice.

The password slice is very nicely written, but its an example of
"advanced" ruby coding.  Its highly factored and parameterized.  We
really cannot expect the masses to dig through this level of code on a
regular basis.  I had to read and re-read the auth slice many times to
ensure I was using it correct.

The extra files littered in my project is another oddity about
slices.  I get not one, but two new trees of files ;).

I'm sure your aware of these issues.  I'll re-post them in the future
if somehow things slip ;).

thanks, Jon

On Dec 25, 6:39 am, "Yehuda Katz" <wyc...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Klishin  
View profile  
 More options Dec 24 2008, 6:29 pm
From: Michael Klishin <michael.s.klis...@gmail.com>
Date: Thu, 25 Dec 2008 02:29:40 +0300
Local: Wed, Dec 24 2008 6:29 pm
Subject: Re: [merb] Re: slices in rails 3.0

On 25.12.2008, at 2:26, Jon Hancock wrote:

> Doesn't inherit from my application controller so I lose common
> behavior

With modules, you wouldn't, so just refactor your Application  
controller.

MK


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon Hancock  
View profile  
 More options Dec 24 2008, 6:40 pm
From: Jon Hancock <shellsha...@gmail.com>
Date: Wed, 24 Dec 2008 15:40:34 -0800 (PST)
Local: Wed, Dec 24 2008 6:40 pm
Subject: Re: slices in rails 3.0
Michael,
Do you simply mean I should put my repeated code in a module and
include that module in both places?  If so, sure it works to reduce
text but duplicates code in different classes.  Is this just more of
"ruby style OO"? ;)

thanks, Jon

On Dec 25, 7:29 am, Michael Klishin <michael.s.klis...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google