This thing rings a bell, I think I was at the presentation of it! Looks pretty good but I have a feeling my needs are going to be more simple. I don't need any yields for example, I'm also in a pure ruby environment, no Rails.
Samuel Richardson www.richardson.co.nz | 0405 472 748 On Mon, Sep 5, 2011 at 4:02 PM, Pat Allan <[email protected]> wrote: > Hi Sam > > It may not fit exactly what you need, but you might want to check out > Justin French's Nestive: > https://github.com/justinfrench/nestive > > Melbourne-made - a sure sign of quality ;) > > -- > Pat > > On 05/09/2011, at 3:44 PM, Samuel Richardson wrote: > > > I've been rolling some of my own templating rendering recently (using > > Tilt) and it's working great. One problem that I do need to tackle is > > nested templates. I've got them working fine like so: > > > > template < header > > > > A template that embeds a head partial. When I render the template, I > > automatically pick up the header. The trouble I've got is going the > > other direction. When I edit header, I want it to update all the > > templates it's embedded in. > > > > I experimented with an "embedded_in" directive but that's going to get > > ugly when something like a header is embedded in hundreds of > > templates. > > > > The framework itself is build around guard, so I pickup when a file > > has changed then run it through tilt before finally saving into a > > different folder. I don't want to re-render _all_ the templates every > > time a change is made, just the altered file. > > > > Any thoughts or direction? > > > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" 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/rails-oceania?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" 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/rails-oceania?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
