Day 33, Sinatra

Magic!!!!!!!!

That is what I am thinking all the time. I thought Ruby itself has enough magic, I was so wrong! When I say magic, I don’t mean anything negative. Please refer to this quotes – “Any sufficiently advanced technology is indistinguishable from magic.”

ActiveRecord:
– ORM
– generates many methods for you, such as model.findall_by_column_name
– amazing feature set. Used as a model for many other ORMs
– many Ruby frameworks use ActiveRecord

Sinatra:
– lightweight compared to Rails; JavaScript equivalent would be Express(?)
– used for a CRUD application with medium level complexity
– Rails would probably be a better choice for more complicated applications with a lot of user interactions and page by page navigations
– not sure about which site has the largest scale Sinatra App

Advertisements
Standard