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" <[email protected]> wrote: > 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 <[email protected]>wrote: > > > > > > > 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 > > -- > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
