If I study Sinatra or Padrino, will it help me with Ruby on Rails?

If I recognize Sinatra or Padrino , does this help me with Ruby on Rails?

I assume that for all of these I should better understand Ruby itself, but, let's say, Padrino translates directly into the skills that I will use in Ruby on Rails or is it indirect?

I am a PHP programmer, but since I used the PHP frameworks, which are Ruby on Rails clones, I find this not too complicated.

+3
source share
8 answers

, , , , -, , , . Rails, - , Rails, "" Rails, Sinatra, , Rails. , , , , Rails ( ).

, , Rails. Michael Hartl . , , , - , , , . -, -, , Sinatra, , , .

, , , " " Sinatra, . , , Rails, - Ruby/Rails.

+5

, Ruby, Ruby MVC , /, Ruby.

- Ruby (, , , ,..), Ruby on Rails , Rack, "" Ruby, .

+6

Padrino Sinatra, , , Rack, - ruby, Rails. , , , Sinatra Rails, Ruby.

-, MVC, . , , , .

Rails Sinatra , Ruby. Ruby , .

, "learning Ruby" .

+4

Rails = > Ruby = > Sinatra = > Rails

Rails + Bootstrap, , . Ruby, _why , , " ". , , , . Sinatra - ! datamapper . Rails, , , , .., -. :

  • Ruby

  • Sinatra

, ...

+2

, Rails - - Ruby ( , , (:). - , Ruby, -. (PHP). Ruby Rails, , . Ruby, Sinatra. . Sinatra , ORM , , . " " Sinatra, . Rails , , , , , Rails.

, - , Sinatra . -, , , .

+1

Lean Sinatra, Rails.

Rails "", , , , .

, Rails, , . "" ; , . , - , , .

!

+1

, , Sinatra Padrino, , Rails. , PHP ( ) Rails . Wulwong, , Rails. , Rails , Rails - , .

, , Rails Ruby, , Ruby, Rails ( Sinatra/Padrino), .

I started with Rails directly, without any Ruby knowledge whatsoever, based on PHP. He taught a lot there, bought several books and continued to hang. After about 7 months of working with Rails, I moved to Padrino to create an API and immediately fell in love with its simplicity compared to Rails.

Once you get better, Rails has a lot of top-class magic, which is awesome, but while you start it is very overwhelming. Sinatra / Padrino allows you to start smaller, easier and keep adding.

Good luck

0
source

Source: https://habr.com/ru/post/1766433/


All Articles