BT

Ruby On Rails State of Practice: Frontend

by Mirko Stocker on Apr 16, 2013 |

Rails developers can draw from a huge pool of libraries to build their applications. Dozens of options are available just for templating: do you use ERB, HAML, SASS, or do you prefer a JavaScript approach with Backbone.js or Knockout.js? The possibilities are endless, so we want to find out what our readers are using, or planning to use in the future.

In a first step (RFP), we asked you for suggestions. We received many answers, and after asking about deployment and management, we now ask a second question about frontend. On the x-axis, you can show us what you’re using right now, or what you’ve moved away from and what you plan to adopt next. The y-axis indicates how valuable you think the specific technology or library is.

Here are the options:

  • Backbone.js: light-weight JavaScript MVC library
  • Bootstrap: Twitter’s front-end framework
  • CarrierWave: simple and easy file uploads for Ruby apps
  • CoffeeScript: nicer-looking JavaScript alternative
  • Dojo: tool kit for JavaScript based applications
  • ERB: Ruby’s template system
  • FormTastic: form builder for Rails
  • HAML: concise markup language to describe HTML
  • JS Templates: a meta item for all JS template systems not mentioned explicitly
  • Kaminari: a paginator for Rails
  • Knockout: dynamic JavaScript UIs following the MVVM pattern
  • LESS: extending CSS with dynamic behaviour
  • mustache: templating for HTML, source code, etc
  • Rails Templates + JS: a meta item if you prefer to let Rails handle the templating
  • SASS: more powerful syntax for CSS
  • SimpleForm: flexible and powerful forms DSL

 

 

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

AngularJS by Robert Christian

Where is AngularJS on this list? Currently, according to Google, AngularJS has more momentum than Backbone and Knockout for client side MVC.

+1 Angular.js by Alexander Pugachev

I was working with Backbone, Knockout and Angular.js. Angular.js is at least worth mentioning in the list though in my opinion it is jsut better then Backbone and Knockout.

Angular.js! by Christian Rijke

Angular.js is definitely missing here. And ember.js.

+1 Angular.js, +1 Ember.js by Loren Johnson

IMHO these are the two JS frameworks to be paying attention to in the Rails front-end circuit.

Backbone by iitamar guzman

We moved away from backbone, we would like to try AnguraJS

what's it mean by will mason

I have to wonder who compiled the questions? Backbone's own site says, use jQurey, there's no jQuery on the list and ERB isn't a replacement for Dojo or Backbone, so why are they listed against each other? Confusing and misguided (is the nicest conclusion).

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

6 Discuss
General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT