Beta Testers Needed for Fortitude: A New Erector

120 views
Skip to first unread message

Andrew Geweke

unread,
Jun 21, 2014, 1:09:18 PM6/21/14
to ere...@googlegroups.com
Hi, everyone!

I’ve been a very long-term user and fan of Erector, and a huge admirer of all the work that Alex and other folks have put into it over time. It’s a brilliant idea and one that I think is deserving of a ton of appreciation from the broad Rails community.

My own experience with Erector has been that, while the ideas are amazing, the implementation has gradually grown out-of-date — enough so that using Erector with modern frameworks and toolchains is a bit dicey these days. I started really digging into this several months ago, wanting to improve the state of Erector. As I dug in more, though, it became clear that a more significant overhaul would be needed; among other things, the performance of Erector lagged other templating languages by a large factor, and there were no easy wins.

To make a long story short, I’ve spent my spare time over the past several months building a ground-up replacement for Erector, called Fortitude. Fortitude uses the exact same idea as Erector and (with a little configuration) is compatible with the overwhelming majority of Erector code, but is built from scratch for extremely high performance (40x–60x that of Erector, and 10–40% faster than ERb/Erubis), compatibility with all modern Ruby and Rails versions (though it works perfectly without Rails, too, including via Tilt), and a number of very useful and cool features that only such a templating language can have. (For example, it can tell you if you violate HTML element-nesting or attribute rules, or if you try to use a duplicate HTML ID on a page.)

Fortitude is feature-complete, API-stable, and extremely well-tested — but needs beta testers! There is little documentation so far (that’s my next big chunk of work), which is why I’m writing to this list; if you know how to use Erector, you (largely) already know how to use Fortitude. If you have a project or application you think might be a good candidate for this, here’s how to get started:

  1. Please drop me a quick note, just to say you’re trying it (it’ll help a lot to know how many people are giving it a shot!).
  2. Check out README-erector.md on GitHub; it’s a quickstart and guide to Fortitude for those who know Erector. (It shouldn’t take more than a few minutes to get up and running with Fortitude, if you know Erector already.)
  3. Join the fortitude-ruby Google group/mailing list for news and updates. (And to keep Fortitude traffic off this list — I don’t want to annoy Erector users with Fortitude discussion!)

I’m committed to fixing bugs rapidly and adding features that make sense, and welcome any and all pull requests. Let me know what you think — I’d love the feedback. And, most of all, I hope you can use and enjoy Fortitude.

  Cheers,
   Andrew

Jim Kingdon

unread,
Jun 21, 2014, 6:27:32 PM6/21/14
to ere...@googlegroups.com
Sounds very interesting. For those who want to join the fortitude
mailing list from a non-gmail address,
the easiest way to do that seems to be to send email to
fortitude-ru...@googlegroups.com

Tim Uckun

unread,
Jun 21, 2014, 7:23:03 PM6/21/14
to age...@gmail.com, erector
What a coincidence.  I am just about to start a new project for fun and was looking at using something like erector. I'll give it a go for sure.




--
You received this message because you are subscribed to the Google Groups "erector" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erector+u...@googlegroups.com.
To post to this group, send email to ere...@googlegroups.com.
Visit this group at http://groups.google.com/group/erector.
For more options, visit https://groups.google.com/d/optout.

Tim Uckun

unread,
Jun 21, 2014, 7:24:46 PM6/21/14
to age...@gmail.com, erector
Combine this with Opal http://opalrb.org/

And now we have ruby everywhere!


On Sun, Jun 22, 2014 at 5:09 AM, Andrew Geweke <age...@gmail.com> wrote:

Alex Chaffee

unread,
Jun 22, 2014, 7:58:06 AM6/22/14
to Tim Uckun, Andrew Geweke, erector
On Sat, Jun 21, 2014 at 7:24 PM, Tim Uckun <timu...@gmail.com> wrote:
> Combine this with Opal http://opalrb.org/
>
> And now we have ruby everywhere!

Yeah, I've been thinking about how to do this. Also about how to use
Erector to generate Mustache templates (where some variables don't get
instantly interpolated but turn into {{varname}} strings).

Anyhoo, thinking is nice but action is better. Good on Andrew for
kicking this off! See you all on the Fortitude list :-)

- A


--
Alex Chaffee - al...@stinky.com
http://alexchaffee.com
http://codelikethis.com
http://twitter.com/alexch
Reply all
Reply to author
Forward
0 new messages