[LRUG] Managing static sites with Haml & Sass
Stephen Bartholomew
steve at curve21.com
Wed May 23 08:59:20 PDT 2007
Hey Andy,
Thanks for your feedback.
StaticMatic doesn't actually use Rails, but I agree with your
points. Sometimes it's great to take advantage of benefits of a
dynamic site such as keeping things DRY and structured, but with the
flexibility and speed of a static site.
Regarding using ERB, it's certainly possibly. I was mainly trying to
avoid writing tons of HTML so that's why I've used Haml. The
additional helpers are currently Haml specific, but that shouldn't be
a huge thing to change.
I'm just setting up the project on Rubyforge so you'll be able to
access the latest code then. It would defiantly be interesting to
see if it can be integrated into ActionView. I'm working on
configuration so it could be an option there.
Cheers,
Steve
On 23 May 2007, at 16:10, Andrew Stewart wrote:
> Hi Steve,
>
>> It's just a basic app that saves a lot of the grunt work when
>> creating a managing static websites. Obviously not for everyone, but
>> I've found it helpful today so feel free to take a look and I'd love
>> some feedback:
> Nice.
>
> I really like the idea of using Rails at "build-time" to put together
> a static site. The layouts, for example, are so useful. But when it
> comes to "run-time" it's just static HTML so Rails is totally
> unnecessary.
>
> So I love the way this gives you the best of both worlds by
> "publishing" a site.
>
> My only request would be to make the templating engine pluggable. As
> wonderful as HAML may be, I'd appreciate the option to use old-school
> ERB. Is this on the cards? Feel free to suggest I do it myself.
>
> Regards,
>
> Andy Stewart
> _______________________________________________
> chat mailing list
> chat at lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
More information about the Chat
mailing list