This paper is kind of academic, but its a good look at the 3 tradeoffs encountered when you try to build a
ActiveRecord can be a nice way to make querying a database easy, object-friendly, and language-independent. The two restrictions you face when using
> mkdir activerecord-sinatra && cd activerecord-sinatra > touch app.rb Install two gems for ActiveRecord and the JSON gem for a real API-looking
Sinatra is a DSL (Domain Specific Language), which makes it conceptually very similar to a framework, but to be more concise, as