just a quick question what do you think of defining a resource specification at the route level?
was this the kind of approach that you will be using? cheers Richard On Sep 30, 6:55 pm, "Kyle Drake" <[EMAIL PROTECTED]> wrote: > That would be great. This was the first thing I was going to try to > code up for Merb once it hit 1.0. make_resourceful (and friends) save > me a ton of time. > > Kyle Drake > Net Brew Designhttp://www.netbrewdesign.com > > On Tue, Sep 30, 2008 at 10:45 AM, Michael Klishin > > <[EMAIL PROTECTED]> wrote: > > > 2008/9/30 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > >> Hi, > > >> One of the plugins that I always use for rails, is > >> resources_controller. It brings alot to building a restful web > >> application, make_resourceful bring the same goodness but I prefer > >> resources_controller > > >> more information > >> http://github.com/ianwhite/resources_controller/tree/master > > >> In essence it adds "ActiveResource compliant controller for your your > >> RESTful models", your controller will know HOW to find a resource from > >> its enclosing resources etc > > >> I find this approach very powerful and keeps those controllers DRY as > >> a bone. > > >> So I am looking to add something similar to our favorite MERB, > > > The idea of resource_controller, resource scopes (#object, > > #collection, #parent methods) is very good, > > there are definitely patterns in resource controllers we need to > > capture somehow. > > > But implementation of resource controller is full of magic. With block > > and stuff you never know what scope you operate in. > > If you can address that somehow, it'd be great. > > > I have my own home grown solution for this but it's not as "automagic" > > as resource_controller. I think I can extract it into a plugin soon. > > -- > > MK --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
