Very cool idea, but don't you think you're kind of re-inventing the wheel? This is exactly what _why's freaky freaky sandbox (http://code.whytheluckystiff.net/sandbox/) is for, and that's been more extensively verified.
Sven Fuchs wrote: > I've been playing with an experimental implementation of a Haml > safemode plugin for the last two weeks or so and I think it's time to > get some feedback from a larger audience. > > The purpose of this effort is that I'd like to see an alternative to > Liquid as a template engine for themes in applications like Mephisto. > The problem at hand is, of course, that such a template engine has to > be pretty restrictive in what it allows templates to do. Haml just > evaluates Ruby code, so it isn't an option. But on the other hand Haml > totally rocks while Liquid really doesn't in quite some regards. So, > this is an attemp to combine some of both worlds. > > Feedback highly appreciated! :) > > > [1] the code: > http://svn.artweb-design.de/stuff/rails/haml_safemode > > [2] latest blog post about the plugin: > Sending Ruby to the jail: an attemp on a Haml Safemode > http://www.artweb-design.de/2008/2/17/sending-ruby-to-the-jail-an-attemp-on-a-haml-safemode > > [3] initial, excited speculations about the feasibility of this: > Sexy Theme Templating with Haml Safemode! Finally ... > http://www.artweb-design.de/2008/2/5/sexy-theme-templating-with-haml-safemode-finally > > > > > -- > sven fuchs [EMAIL PROTECTED] > artweb design http://www.artweb-design.de > grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone) > d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile) > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en -~----------~----~----~----~------~----~------~--~---
