Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In place of ActiveRecord, there are a few to choose from. The biggest competitor (and my favorite) seems to be <a href="http://datamapper.org/" rel="noreferrer">DataMapper</a>, then there's <a href="http://sequel.rubyforge.org/" rel="noreferrer">Sequel</a>, <a href="http://mongoid.org/" rel="noreferrer">Mongoid</a>, <a href="http://mongomapper.com/" rel="noreferrer">MongoMapper</a>. There are plenty of others too, but these are relatively big players.</p> <p>In place of ActionView (not Active... Action... confusing, I know), I haven't come across anything. I've seen plenty of additions to it, but no complete replacements. I guess that means people are mostly happy with ActionView. Now, there are other template-engines available though. The big player here is <a href="http://haml-lang.com/" rel="noreferrer">HAML</a>. Using HAML doesn't mean you're not using ActionView though. You're still using ActionView, just with a different template pre-processor.</p> <p>Alternatives to RoR itself. Again, there are a few. The big players are <a href="http://www.sinatrarb.com/" rel="noreferrer">Sinatra</a>, <a href="http://www.merbivore.com/" rel="noreferrer">Merb</a> (which started in the early Rails days by some people who disagreed with a thing or two in Rails, and then Rails learnt a thing or two and took some bits and pieces back again... confusing!). There's also <a href="http://ramaze.net/" rel="noreferrer">Ramaze</a>, but I don't know much about it.</p> <p>The thing is, Rails is more or less unrivaled in what it does. If you get your hands on a web app written in Ruby, it's probably going to either be a Rails app or a Sinatra app. Sinatra meets a different need to Rails. Rails wants to provide you with a whole array of tools to get things done quickly, while Sinatra's main goal is to be lightweight and keep out of your way. Rails is huge, while Sinatra basically boils down a glorified route map/dispatcher (I mean this in a good way), leaving you to build your web app however you see fit. Sinatra makes it easy to package a small web admin tool inside a gem, for example. You probably wouldn't want to include a Rails app inside a gem. That would be pretty overkill.</p> <p>In terms of "other components", the big thing (though it's not a Rails thing) that comes to mind is Test::Unit. While Rails just ships with Test::Unit, and doesn't constrain you from using something else, it's worth mentioning that there are other testing frameworks available. <a href="http://relishapp.com/rspec" rel="noreferrer">RSpec</a> is the other big player here, and there's also <a href="http://www.zenspider.com/ZSS/Products/ZenTest/" rel="noreferrer">ZenTest</a>. You may also look at <a href="https://github.com/thoughtbot/shoulda" rel="noreferrer">Shoulda</a>, which is an add-on, more than an alternative.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload